Package org.blender.dna
Class CBData
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.CBData
-
public class CBData extends CFacade
Generated facet for DNA struct type 'CBData'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__a
Field descriptor (offset) for struct member 'a'.static long[]
__DNA__FIELD__b
Field descriptor (offset) for struct member 'b'.static long[]
__DNA__FIELD__cur
Field descriptor (offset) for struct member 'cur'.static long[]
__DNA__FIELD__g
Field descriptor (offset) for struct member 'g'.static long[]
__DNA__FIELD__pos
Field descriptor (offset) for struct member 'pos'.static long[]
__DNA__FIELD__r
Field descriptor (offset) for struct member 'r'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct CBData.-
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 CBData(long __address, Block __block, BlockTable __blockTable)
protected
CBData(CBData that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<CBData>
__io__addressof()
Instantiates a pointer on this instance.float
getA()
Get method for struct member 'a'.float
getB()
Get method for struct member 'b'.int
getCur()
Get method for struct member 'cur'.float
getG()
Get method for struct member 'g'.float
getPos()
Get method for struct member 'pos'.float
getR()
Get method for struct member 'r'.void
setA(float a)
Set method for struct member 'a'.void
setB(float b)
Set method for struct member 'b'.void
setCur(int cur)
Set method for struct member 'cur'.void
setG(float g)
Set method for struct member 'g'.void
setPos(float pos)
Set method for struct member 'pos'.void
setR(float r)
Set method for struct member 'r'.-
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 CBData.It is required when allocating a new block to store data for CBData.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__r
public static final long[] __DNA__FIELD__r
Field descriptor (offset) for struct member 'r'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CBData cbdata = ...; CPointer<Object> p = cbdata.__dna__addressof(CBData.__DNA__FIELD__r); CPointer<Float> p_r = p.cast(new Class[]{Float.class});
Metadata
- Field: 'r'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__g
public static final long[] __DNA__FIELD__g
Field descriptor (offset) for struct member 'g'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CBData cbdata = ...; CPointer<Object> p = cbdata.__dna__addressof(CBData.__DNA__FIELD__g); CPointer<Float> p_g = p.cast(new Class[]{Float.class});
Metadata
- Field: 'g'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__b
public static final long[] __DNA__FIELD__b
Field descriptor (offset) for struct member 'b'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CBData cbdata = ...; CPointer<Object> p = cbdata.__dna__addressof(CBData.__DNA__FIELD__b); CPointer<Float> p_b = p.cast(new Class[]{Float.class});
Metadata
- Field: 'b'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__a
public static final long[] __DNA__FIELD__a
Field descriptor (offset) for struct member 'a'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CBData cbdata = ...; CPointer<Object> p = cbdata.__dna__addressof(CBData.__DNA__FIELD__a); CPointer<Float> p_a = p.cast(new Class[]{Float.class});
Metadata
- Field: 'a'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__pos
public static final long[] __DNA__FIELD__pos
Field descriptor (offset) for struct member 'pos'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CBData cbdata = ...; CPointer<Object> p = cbdata.__dna__addressof(CBData.__DNA__FIELD__pos); CPointer<Float> p_pos = p.cast(new Class[]{Float.class});
Metadata
- Field: 'pos'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__cur
public static final long[] __DNA__FIELD__cur
Field descriptor (offset) for struct member 'cur'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CBData cbdata = ...; CPointer<Object> p = cbdata.__dna__addressof(CBData.__DNA__FIELD__cur); CPointer<Integer> p_cur = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'cur'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
CBData
public CBData(long __address, Block __block, BlockTable __blockTable)
-
CBData
protected CBData(CBData that)
-
-
Method Detail
-
getR
public float getR() throws java.io.IOException
Get method for struct member 'r'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__r
-
setR
public void setR(float r) throws java.io.IOException
Set method for struct member 'r'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__r
-
getG
public float getG() throws java.io.IOException
Get method for struct member 'g'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__g
-
setG
public void setG(float g) throws java.io.IOException
Set method for struct member 'g'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__g
-
getB
public float getB() throws java.io.IOException
Get method for struct member 'b'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__b
-
setB
public void setB(float b) throws java.io.IOException
Set method for struct member 'b'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__b
-
getA
public float getA() throws java.io.IOException
Get method for struct member 'a'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__a
-
setA
public void setA(float a) throws java.io.IOException
Set method for struct member 'a'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__a
-
getPos
public float getPos() throws java.io.IOException
Get method for struct member 'pos'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pos
-
setPos
public void setPos(float pos) throws java.io.IOException
Set method for struct member 'pos'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pos
-
getCur
public int getCur() throws java.io.IOException
Get method for struct member 'cur'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cur
-
setCur
public void setCur(int cur) throws java.io.IOException
Set method for struct member 'cur'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cur
-
-