Package org.blender.dna
Class bGPgrid
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.bGPgrid
-
public class bGPgrid extends CFacade
Generated facet for DNA struct type 'bGPgrid'.Class Documentation
Blender Source Code
grid configuration
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.static long[]
__DNA__FIELD__lines
Field descriptor (offset) for struct member 'lines'.static long[]
__DNA__FIELD__offset
Field descriptor (offset) for struct member 'offset'.static long[]
__DNA__FIELD__scale
Field descriptor (offset) for struct member 'scale'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPgrid.-
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 bGPgrid(long __address, Block __block, BlockTable __blockTable)
protected
bGPgrid(bGPgrid that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<bGPgrid>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Byte>
get_pad1()
Get method for struct member '_pad1'.CArrayFacade<java.lang.Float>
getColor()
Get method for struct member 'color'.int
getLines()
Get method for struct member 'lines'.CArrayFacade<java.lang.Float>
getOffset()
Get method for struct member 'offset'.CArrayFacade<java.lang.Float>
getScale()
Get method for struct member 'scale'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.void
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.void
setLines(int lines)
Set method for struct member 'lines'.void
setOffset(CArrayFacade<java.lang.Float> offset)
Set method for struct member 'offset'.void
setScale(CArrayFacade<java.lang.Float> scale)
Set method for struct member 'scale'.-
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 bGPgrid.It is required when allocating a new block to store data for bGPgrid.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__color
public static final long[] __DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPgrid bgpgrid = ...; CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD__color); CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'color'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__scale
public static final long[] __DNA__FIELD__scale
Field descriptor (offset) for struct member 'scale'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPgrid bgpgrid = ...; CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD__scale); CPointer<CArrayFacade<Float>> p_scale = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'scale'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__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:
bGPgrid bgpgrid = ...; CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD__offset); CPointer<CArrayFacade<Float>> p_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'offset'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPgrid bgpgrid = ...; CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad1'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__lines
public static final long[] __DNA__FIELD__lines
Field descriptor (offset) for struct member 'lines'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPgrid bgpgrid = ...; CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD__lines); CPointer<Integer> p_lines = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'lines'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
bGPgrid bgpgrid = ...; CPointer<Object> p = bgpgrid.__dna__addressof(bGPgrid.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
bGPgrid
public bGPgrid(long __address, Block __block, BlockTable __blockTable)
-
bGPgrid
protected bGPgrid(bGPgrid that)
-
-
Method Detail
-
getColor
public CArrayFacade<java.lang.Float> getColor() throws java.io.IOException
Get method for struct member 'color'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color
-
setColor
public void setColor(CArrayFacade<java.lang.Float> color) throws java.io.IOException
Set method for struct member 'color'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color
-
getScale
public CArrayFacade<java.lang.Float> getScale() throws java.io.IOException
Get method for struct member 'scale'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scale
-
setScale
public void setScale(CArrayFacade<java.lang.Float> scale) throws java.io.IOException
Set method for struct member 'scale'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scale
-
getOffset
public CArrayFacade<java.lang.Float> getOffset() throws java.io.IOException
Get method for struct member 'offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
setOffset
public void setOffset(CArrayFacade<java.lang.Float> offset) throws java.io.IOException
Set method for struct member 'offset'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset
-
get_pad1
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
getLines
public int getLines() throws java.io.IOException
Get method for struct member 'lines'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lines
-
setLines
public void setLines(int lines) throws java.io.IOException
Set method for struct member 'lines'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lines
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
-