Package org.blender.dna
Class GpPaint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.GpPaint
-
public class GpPaint extends CFacade
Generated facet for DNA struct type 'GpPaint'.Class Documentation
Blender Source Code
Grease pencil drawing brushes.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.static long[]
__DNA__FIELD__paint
Field descriptor (offset) for struct member 'paint'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct GpPaint.-
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 GpPaint(long __address, Block __block, BlockTable __blockTable)
protected
GpPaint(GpPaint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<GpPaint>
__io__addressof()
Instantiates a pointer on this instance.int
getFlag()
Get method for struct member 'flag'.int
getMode()
Get method for struct member 'mode'.Paint
getPaint()
Get method for struct member 'paint'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setMode(int mode)
Set method for struct member 'mode'.void
setPaint(Paint paint)
Set method for struct member 'paint'.-
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 GpPaint.It is required when allocating a new block to store data for GpPaint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__paint
public static final long[] __DNA__FIELD__paint
Field descriptor (offset) for struct member 'paint'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
GpPaint gppaint = ...; CPointer<Object> p = gppaint.__dna__addressof(GpPaint.__DNA__FIELD__paint); CPointer<Paint> p_paint = p.cast(new Class[]{Paint.class});
Metadata
- Field: 'paint'
- Signature: 'Paint'
- Actual Size (32bit/64bit): 68/88
-
__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:
GpPaint gppaint = ...; CPointer<Object> p = gppaint.__dna__addressof(GpPaint.__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__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Field Documentation
Blender Source Code
Mode of paint (Materials or Vertex Color).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
GpPaint gppaint = ...; CPointer<Object> p = gppaint.__dna__addressof(GpPaint.__DNA__FIELD__mode); CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'mode'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
GpPaint
public GpPaint(long __address, Block __block, BlockTable __blockTable)
-
GpPaint
protected GpPaint(GpPaint that)
-
-
Method Detail
-
getPaint
public Paint getPaint() throws java.io.IOException
Get method for struct member 'paint'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__paint
-
setPaint
public void setPaint(Paint paint) throws java.io.IOException
Set method for struct member 'paint'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__paint
-
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
-
getMode
public int getMode() throws java.io.IOException
Get method for struct member 'mode'.Field Documentation
Blender Source Code
Mode of paint (Materials or Vertex Color).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
setMode
public void setMode(int mode) throws java.io.IOException
Set method for struct member 'mode'.Field Documentation
Blender Source Code
Mode of paint (Materials or Vertex Color).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
-