Package org.blender.dna
Class SolidLight
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.SolidLight
-
public class SolidLight extends CFacade
Generated facet for DNA struct type 'SolidLight'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.static long[]
__DNA__FIELD__col
Field descriptor (offset) for struct member 'col'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__smooth
Field descriptor (offset) for struct member 'smooth'.static long[]
__DNA__FIELD__spec
Field descriptor (offset) for struct member 'spec'.static long[]
__DNA__FIELD__vec
Field descriptor (offset) for struct member 'vec'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct SolidLight.-
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 SolidLight(long __address, Block __block, BlockTable __blockTable)
protected
SolidLight(SolidLight that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<SolidLight>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad0()
Get method for struct member '_pad0'.CArrayFacade<java.lang.Float>
getCol()
Get method for struct member 'col'.int
getFlag()
Get method for struct member 'flag'.float
getSmooth()
Get method for struct member 'smooth'.CArrayFacade<java.lang.Float>
getSpec()
Get method for struct member 'spec'.CArrayFacade<java.lang.Float>
getVec()
Get method for struct member 'vec'.void
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.void
setCol(CArrayFacade<java.lang.Float> col)
Set method for struct member 'col'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setSmooth(float smooth)
Set method for struct member 'smooth'.void
setSpec(CArrayFacade<java.lang.Float> spec)
Set method for struct member 'spec'.void
setVec(CArrayFacade<java.lang.Float> vec)
Set method for struct member 'vec'.-
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 SolidLight.It is required when allocating a new block to store data for SolidLight.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__smooth
public static final long[] __DNA__FIELD__smooth
Field descriptor (offset) for struct member 'smooth'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__smooth); CPointer<Float> p_smooth = p.cast(new Class[]{Float.class});
Metadata
- Field: 'smooth'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad0
public static final long[] __DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD___pad0); CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad0'
- Signature: 'char[8]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__col
public static final long[] __DNA__FIELD__col
Field descriptor (offset) for struct member 'col'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__col); CPointer<CArrayFacade<Float>> p_col = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'col'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__spec
public static final long[] __DNA__FIELD__spec
Field descriptor (offset) for struct member 'spec'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__spec); CPointer<CArrayFacade<Float>> p_spec = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'spec'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__vec
public static final long[] __DNA__FIELD__vec
Field descriptor (offset) for struct member 'vec'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
SolidLight solidlight = ...; CPointer<Object> p = solidlight.__dna__addressof(SolidLight.__DNA__FIELD__vec); CPointer<CArrayFacade<Float>> p_vec = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'vec'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
-
Constructor Detail
-
SolidLight
public SolidLight(long __address, Block __block, BlockTable __blockTable)
-
SolidLight
protected SolidLight(SolidLight that)
-
-
Method Detail
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getSmooth
public float getSmooth() throws java.io.IOException
Get method for struct member 'smooth'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__smooth
-
setSmooth
public void setSmooth(float smooth) throws java.io.IOException
Set method for struct member 'smooth'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__smooth
-
get_pad0
public CArrayFacade<java.lang.Byte> get_pad0() throws java.io.IOException
Get method for struct member '_pad0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad0
-
set_pad0
public void set_pad0(CArrayFacade<java.lang.Byte> _pad0) throws java.io.IOException
Set method for struct member '_pad0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad0
-
getCol
public CArrayFacade<java.lang.Float> getCol() throws java.io.IOException
Get method for struct member 'col'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__col
-
setCol
public void setCol(CArrayFacade<java.lang.Float> col) throws java.io.IOException
Set method for struct member 'col'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__col
-
getSpec
public CArrayFacade<java.lang.Float> getSpec() throws java.io.IOException
Get method for struct member 'spec'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__spec
-
setSpec
public void setSpec(CArrayFacade<java.lang.Float> spec) throws java.io.IOException
Set method for struct member 'spec'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__spec
-
getVec
public CArrayFacade<java.lang.Float> getVec() throws java.io.IOException
Get method for struct member 'vec'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vec
-
setVec
public void setVec(CArrayFacade<java.lang.Float> vec) throws java.io.IOException
Set method for struct member 'vec'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vec
-
__io__addressof
public CPointer<SolidLight> __io__addressof()
Instantiates a pointer on this instance.
-
-