public class Paint extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__brush
Field descriptor (offset) for struct member 'brush'.
|
static long[] |
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.
|
static long[] |
__DNA__FIELD__num_input_samples
Field descriptor (offset) for struct member 'num_input_samples'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__paint_cursor
Field descriptor (offset) for struct member 'paint_cursor'.
|
static long[] |
__DNA__FIELD__paint_cursor_col
Field descriptor (offset) for struct member 'paint_cursor_col'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Paint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
Paint(long __address,
Block __block,
BlockTable __blockTable) |
protected |
Paint(Paint that) |
Modifier and Type | Method and Description |
---|---|
CPointer<Paint> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<Brush> |
getBrush()
Get method for struct member 'brush'.
|
int |
getFlags()
Get method for struct member 'flags'.
|
int |
getNum_input_samples()
Get method for struct member 'num_input_samples'.
|
int |
getPad()
Get method for struct member 'pad'.
|
CArrayFacade<java.lang.Byte> |
getPaint_cursor_col()
Get method for struct member 'paint_cursor_col'.
|
CPointer<java.lang.Object> |
getPaint_cursor()
Get method for struct member 'paint_cursor'.
|
void |
setBrush(CPointer<Brush> brush)
Set method for struct member 'brush'.
|
void |
setFlags(int flags)
Set method for struct member 'flags'.
|
void |
setNum_input_samples(int num_input_samples)
Set method for struct member 'num_input_samples'.
|
void |
setPad(int pad)
Set method for struct member 'pad'.
|
void |
setPaint_cursor_col(CArrayFacade<java.lang.Byte> paint_cursor_col)
Set method for struct member 'paint_cursor_col'.
|
void |
setPaint_cursor(CPointer<java.lang.Object> paint_cursor)
Set method for struct member 'paint_cursor'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for Paint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__brush
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__brush); CPointer<CPointer<Brush>> p_brush = p.cast(new Class[]{CPointer.class, Brush.class});
public static final long[] __DNA__FIELD__paint_cursor
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__paint_cursor); CPointer<CPointer<Object>> p_paint_cursor = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__paint_cursor_col
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__paint_cursor_col); CPointer<CArrayFacade<Byte>> p_paint_cursor_col = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__flags
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__flags); CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__num_input_samples
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__num_input_samples); CPointer<Integer> p_num_input_samples = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__pad); CPointer<Integer> p_pad = p.cast(new Class[]{Integer.class});
public Paint(long __address, Block __block, BlockTable __blockTable)
protected Paint(Paint that)
public CPointer<Brush> getBrush() throws java.io.IOException
java.io.IOException
__DNA__FIELD__brush
public void setBrush(CPointer<Brush> brush) throws java.io.IOException
java.io.IOException
__DNA__FIELD__brush
public CPointer<java.lang.Object> getPaint_cursor() throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint_cursor
public void setPaint_cursor(CPointer<java.lang.Object> paint_cursor) throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint_cursor
public CArrayFacade<java.lang.Byte> getPaint_cursor_col() throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint_cursor_col
public void setPaint_cursor_col(CArrayFacade<java.lang.Byte> paint_cursor_col) throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint_cursor_col
public int getFlags() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flags
public void setFlags(int flags) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flags
public int getNum_input_samples() throws java.io.IOException
java.io.IOException
__DNA__FIELD__num_input_samples
public void setNum_input_samples(int num_input_samples) throws java.io.IOException
java.io.IOException
__DNA__FIELD__num_input_samples
public int getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(int pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad