Class LightGridCache
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.LightGridCache
-
public class LightGridCache extends CFacade
Generated facet for DNA struct type 'LightGridCache'.Class Documentation
Blender Source Code
Must match GridData.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad4
Field descriptor (offset) for struct member '_pad4'.static long[]
__DNA__FIELD___pad5
Field descriptor (offset) for struct member '_pad5'.static long[]
__DNA__FIELD__attenuation_bias
Field descriptor (offset) for struct member 'attenuation_bias'.static long[]
__DNA__FIELD__attenuation_scale
Field descriptor (offset) for struct member 'attenuation_scale'.static long[]
__DNA__FIELD__corner
Field descriptor (offset) for struct member 'corner'.static long[]
__DNA__FIELD__increment_x
Field descriptor (offset) for struct member 'increment_x'.static long[]
__DNA__FIELD__increment_y
Field descriptor (offset) for struct member 'increment_y'.static long[]
__DNA__FIELD__increment_z
Field descriptor (offset) for struct member 'increment_z'.static long[]
__DNA__FIELD__level_bias
Field descriptor (offset) for struct member 'level_bias'.static long[]
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.static long[]
__DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.static long[]
__DNA__FIELD__resolution
Field descriptor (offset) for struct member 'resolution'.static long[]
__DNA__FIELD__visibility_bias
Field descriptor (offset) for struct member 'visibility_bias'.static long[]
__DNA__FIELD__visibility_bleed
Field descriptor (offset) for struct member 'visibility_bleed'.static long[]
__DNA__FIELD__visibility_range
Field descriptor (offset) for struct member 'visibility_range'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct LightGridCache.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description LightGridCache(long __address, Block __block, BlockTable __blockTable)
protected
LightGridCache(LightGridCache that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<LightGridCache>
__io__addressof()
Instantiates a pointer on this instance.float
get_pad4()
Get method for struct member '_pad4'.float
get_pad5()
Get method for struct member '_pad5'.float
getAttenuation_bias()
Get method for struct member 'attenuation_bias'.float
getAttenuation_scale()
Get method for struct member 'attenuation_scale'.CArrayFacade<java.lang.Float>
getCorner()
Get method for struct member 'corner'.CArrayFacade<java.lang.Float>
getIncrement_x()
Get method for struct member 'increment_x'.CArrayFacade<java.lang.Float>
getIncrement_y()
Get method for struct member 'increment_y'.CArrayFacade<java.lang.Float>
getIncrement_z()
Get method for struct member 'increment_z'.float
getLevel_bias()
Get method for struct member 'level_bias'.CArrayFacade<CArrayFacade<java.lang.Float>>
getMat()
Get method for struct member 'mat'.int
getOffset()
Get method for struct member 'offset'.CArrayFacade<java.lang.Integer>
getResolution()
Get method for struct member 'resolution'.float
getVisibility_bias()
Get method for struct member 'visibility_bias'.float
getVisibility_bleed()
Get method for struct member 'visibility_bleed'.float
getVisibility_range()
Get method for struct member 'visibility_range'.void
set_pad4(float _pad4)
Set method for struct member '_pad4'.void
set_pad5(float _pad5)
Set method for struct member '_pad5'.void
setAttenuation_bias(float attenuation_bias)
Set method for struct member 'attenuation_bias'.void
setAttenuation_scale(float attenuation_scale)
Set method for struct member 'attenuation_scale'.void
setCorner(CArrayFacade<java.lang.Float> corner)
Set method for struct member 'corner'.void
setIncrement_x(CArrayFacade<java.lang.Float> increment_x)
Set method for struct member 'increment_x'.void
setIncrement_y(CArrayFacade<java.lang.Float> increment_y)
Set method for struct member 'increment_y'.void
setIncrement_z(CArrayFacade<java.lang.Float> increment_z)
Set method for struct member 'increment_z'.void
setLevel_bias(float level_bias)
Set method for struct member 'level_bias'.void
setMat(CArrayFacade<CArrayFacade<java.lang.Float>> mat)
Set method for struct member 'mat'.void
setOffset(int offset)
Set method for struct member 'offset'.void
setResolution(CArrayFacade<java.lang.Integer> resolution)
Set method for struct member 'resolution'.void
setVisibility_bias(float visibility_bias)
Set method for struct member 'visibility_bias'.void
setVisibility_bleed(float visibility_bleed)
Set method for struct member 'visibility_bleed'.void
setVisibility_range(float visibility_range)
Set method for struct member 'visibility_range'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct LightGridCache.It is required when allocating a new block to store data for LightGridCache.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__mat
public static final long[] __DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__mat); CPointer<CArrayFacade<CArrayFacade<Float>>> p_mat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'mat'
- Signature: 'float[4][4]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__resolution
public static final long[] __DNA__FIELD__resolution
Field descriptor (offset) for struct member 'resolution'.Field Documentation
Blender Source Code
Offset to the first irradiance sample in the pool.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__resolution); CPointer<CArrayFacade<Integer>> p_resolution = p.cast(new Class[]{CArrayFacade.class, Integer.class});
Metadata
- Field: 'resolution'
- Signature: 'int[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__offset
public static final long[] __DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__offset); CPointer<Integer> p_offset = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'offset'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__corner
public static final long[] __DNA__FIELD__corner
Field descriptor (offset) for struct member 'corner'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__corner); CPointer<CArrayFacade<Float>> p_corner = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'corner'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__attenuation_scale
public static final long[] __DNA__FIELD__attenuation_scale
Field descriptor (offset) for struct member 'attenuation_scale'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__attenuation_scale); CPointer<Float> p_attenuation_scale = p.cast(new Class[]{Float.class});
Metadata
- Field: 'attenuation_scale'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__increment_x
public static final long[] __DNA__FIELD__increment_x
Field descriptor (offset) for struct member 'increment_x'.Field Documentation
Blender Source Code
World
space vector between 2 opposite cells.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__increment_x); CPointer<CArrayFacade<Float>> p_increment_x = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'increment_x'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__attenuation_bias
public static final long[] __DNA__FIELD__attenuation_bias
Field descriptor (offset) for struct member 'attenuation_bias'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__attenuation_bias); CPointer<Float> p_attenuation_bias = p.cast(new Class[]{Float.class});
Metadata
- Field: 'attenuation_bias'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__increment_y
public static final long[] __DNA__FIELD__increment_y
Field descriptor (offset) for struct member 'increment_y'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__increment_y); CPointer<CArrayFacade<Float>> p_increment_y = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'increment_y'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__level_bias
public static final long[] __DNA__FIELD__level_bias
Field descriptor (offset) for struct member 'level_bias'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__level_bias); CPointer<Float> p_level_bias = p.cast(new Class[]{Float.class});
Metadata
- Field: 'level_bias'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__increment_z
public static final long[] __DNA__FIELD__increment_z
Field descriptor (offset) for struct member 'increment_z'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__increment_z); CPointer<CArrayFacade<Float>> p_increment_z = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'increment_z'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD___pad4
public static final long[] __DNA__FIELD___pad4
Field descriptor (offset) for struct member '_pad4'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD___pad4); CPointer<Float> p__pad4 = p.cast(new Class[]{Float.class});
Metadata
- Field: '_pad4'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__visibility_bias
public static final long[] __DNA__FIELD__visibility_bias
Field descriptor (offset) for struct member 'visibility_bias'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__visibility_bias); CPointer<Float> p_visibility_bias = p.cast(new Class[]{Float.class});
Metadata
- Field: 'visibility_bias'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__visibility_bleed
public static final long[] __DNA__FIELD__visibility_bleed
Field descriptor (offset) for struct member 'visibility_bleed'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__visibility_bleed); CPointer<Float> p_visibility_bleed = p.cast(new Class[]{Float.class});
Metadata
- Field: 'visibility_bleed'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__visibility_range
public static final long[] __DNA__FIELD__visibility_range
Field descriptor (offset) for struct member 'visibility_range'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__visibility_range); CPointer<Float> p_visibility_range = p.cast(new Class[]{Float.class});
Metadata
- Field: 'visibility_range'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad5
public static final long[] __DNA__FIELD___pad5
Field descriptor (offset) for struct member '_pad5'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
LightGridCache lightgridcache = ...; CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD___pad5); CPointer<Float> p__pad5 = p.cast(new Class[]{Float.class});
Metadata
- Field: '_pad5'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
LightGridCache
public LightGridCache(long __address, Block __block, BlockTable __blockTable)
-
LightGridCache
protected LightGridCache(LightGridCache that)
-
-
Method Detail
-
getMat
public CArrayFacade<CArrayFacade<java.lang.Float>> getMat() throws java.io.IOException
Get method for struct member 'mat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
setMat
public void setMat(CArrayFacade<CArrayFacade<java.lang.Float>> mat) throws java.io.IOException
Set method for struct member 'mat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
getResolution
public CArrayFacade<java.lang.Integer> getResolution() throws java.io.IOException
Get method for struct member 'resolution'.Field Documentation
Blender Source Code
Offset to the first irradiance sample in the pool.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__resolution
-
setResolution
public void setResolution(CArrayFacade<java.lang.Integer> resolution) throws java.io.IOException
Set method for struct member 'resolution'.Field Documentation
Blender Source Code
Offset to the first irradiance sample in the pool.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__resolution
-
getOffset
public int getOffset() throws java.io.IOException
Get method for struct member 'offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
setOffset
public void setOffset(int offset) throws java.io.IOException
Set method for struct member 'offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
getCorner
public CArrayFacade<java.lang.Float> getCorner() throws java.io.IOException
Get method for struct member 'corner'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__corner
-
setCorner
public void setCorner(CArrayFacade<java.lang.Float> corner) throws java.io.IOException
Set method for struct member 'corner'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__corner
-
getAttenuation_scale
public float getAttenuation_scale() throws java.io.IOException
Get method for struct member 'attenuation_scale'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attenuation_scale
-
setAttenuation_scale
public void setAttenuation_scale(float attenuation_scale) throws java.io.IOException
Set method for struct member 'attenuation_scale'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attenuation_scale
-
getIncrement_x
public CArrayFacade<java.lang.Float> getIncrement_x() throws java.io.IOException
Get method for struct member 'increment_x'.Field Documentation
Blender Source Code
World
space vector between 2 opposite cells.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__increment_x
-
setIncrement_x
public void setIncrement_x(CArrayFacade<java.lang.Float> increment_x) throws java.io.IOException
Set method for struct member 'increment_x'.Field Documentation
Blender Source Code
World
space vector between 2 opposite cells.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__increment_x
-
getAttenuation_bias
public float getAttenuation_bias() throws java.io.IOException
Get method for struct member 'attenuation_bias'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attenuation_bias
-
setAttenuation_bias
public void setAttenuation_bias(float attenuation_bias) throws java.io.IOException
Set method for struct member 'attenuation_bias'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attenuation_bias
-
getIncrement_y
public CArrayFacade<java.lang.Float> getIncrement_y() throws java.io.IOException
Get method for struct member 'increment_y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__increment_y
-
setIncrement_y
public void setIncrement_y(CArrayFacade<java.lang.Float> increment_y) throws java.io.IOException
Set method for struct member 'increment_y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__increment_y
-
getLevel_bias
public float getLevel_bias() throws java.io.IOException
Get method for struct member 'level_bias'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__level_bias
-
setLevel_bias
public void setLevel_bias(float level_bias) throws java.io.IOException
Set method for struct member 'level_bias'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__level_bias
-
getIncrement_z
public CArrayFacade<java.lang.Float> getIncrement_z() throws java.io.IOException
Get method for struct member 'increment_z'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__increment_z
-
setIncrement_z
public void setIncrement_z(CArrayFacade<java.lang.Float> increment_z) throws java.io.IOException
Set method for struct member 'increment_z'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__increment_z
-
get_pad4
public float get_pad4() throws java.io.IOException
Get method for struct member '_pad4'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad4
-
set_pad4
public void set_pad4(float _pad4) throws java.io.IOException
Set method for struct member '_pad4'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad4
-
getVisibility_bias
public float getVisibility_bias() throws java.io.IOException
Get method for struct member 'visibility_bias'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__visibility_bias
-
setVisibility_bias
public void setVisibility_bias(float visibility_bias) throws java.io.IOException
Set method for struct member 'visibility_bias'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__visibility_bias
-
getVisibility_bleed
public float getVisibility_bleed() throws java.io.IOException
Get method for struct member 'visibility_bleed'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__visibility_bleed
-
setVisibility_bleed
public void setVisibility_bleed(float visibility_bleed) throws java.io.IOException
Set method for struct member 'visibility_bleed'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__visibility_bleed
-
getVisibility_range
public float getVisibility_range() throws java.io.IOException
Get method for struct member 'visibility_range'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__visibility_range
-
setVisibility_range
public void setVisibility_range(float visibility_range) throws java.io.IOException
Set method for struct member 'visibility_range'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__visibility_range
-
get_pad5
public float get_pad5() throws java.io.IOException
Get method for struct member '_pad5'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad5
-
set_pad5
public void set_pad5(float _pad5) throws java.io.IOException
Set method for struct member '_pad5'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad5
-
__io__addressof
public CPointer<LightGridCache> __io__addressof()
Instantiates a pointer on this instance.
-
-