Package org.blender.dna
Class PaintToolSlot
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.PaintToolSlot
-
public class PaintToolSlot extends CFacade
Generated facet for DNA struct type 'PaintToolSlot'.Class Documentation
Blender Source Code
We might want to store other things here.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__brush
Field descriptor (offset) for struct member 'brush'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct PaintToolSlot.-
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 PaintToolSlot(long __address, Block __block, BlockTable __blockTable)
protected
PaintToolSlot(PaintToolSlot that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<PaintToolSlot>
__io__addressof()
Instantiates a pointer on this instance.CPointer<Brush>
getBrush()
Get method for struct member 'brush'.void
setBrush(CPointer<Brush> brush)
Set method for struct member 'brush'.-
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 PaintToolSlot.It is required when allocating a new block to store data for PaintToolSlot.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__brush
public static final long[] __DNA__FIELD__brush
Field descriptor (offset) for struct member 'brush'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PaintToolSlot painttoolslot = ...; CPointer<Object> p = painttoolslot.__dna__addressof(PaintToolSlot.__DNA__FIELD__brush); CPointer<CPointer<Brush>> p_brush = p.cast(new Class[]{CPointer.class, Brush.class});
Metadata
- Field: 'brush'
- Signature: 'Brush*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
PaintToolSlot
public PaintToolSlot(long __address, Block __block, BlockTable __blockTable)
-
PaintToolSlot
protected PaintToolSlot(PaintToolSlot that)
-
-
Method Detail
-
getBrush
public CPointer<Brush> getBrush() throws java.io.IOException
Get method for struct member 'brush'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__brush
-
setBrush
public void setBrush(CPointer<Brush> brush) throws java.io.IOException
Set method for struct member 'brush'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__brush
-
__io__addressof
public CPointer<PaintToolSlot> __io__addressof()
Instantiates a pointer on this instance.
-
-