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__cavity_curve
Field descriptor (offset) for struct member 'cavity_curve'.
|
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__pad2
Field descriptor (offset) for struct member 'pad2'.
|
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 long[] |
__DNA__FIELD__palette
Field descriptor (offset) for struct member 'palette'.
|
static long[] |
__DNA__FIELD__symmetry_flags
Field descriptor (offset) for struct member 'symmetry_flags'.
|
static long[] |
__DNA__FIELD__tile_offset
Field descriptor (offset) for struct member 'tile_offset'.
|
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'.
|
CPointer<CurveMapping> |
getCavity_curve()
Get method for struct member 'cavity_curve'.
|
int |
getFlags()
Get method for struct member 'flags'.
|
int |
getNum_input_samples()
Get method for struct member 'num_input_samples'.
|
int |
getPad2()
Get method for struct member 'pad2'.
|
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'.
|
CPointer<Palette> |
getPalette()
Get method for struct member 'palette'.
|
int |
getSymmetry_flags()
Get method for struct member 'symmetry_flags'.
|
CArrayFacade<java.lang.Float> |
getTile_offset()
Get method for struct member 'tile_offset'.
|
void |
setBrush(CPointer<Brush> brush)
Set method for struct member 'brush'.
|
void |
setCavity_curve(CPointer<CurveMapping> cavity_curve)
Set method for struct member 'cavity_curve'.
|
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 |
setPad2(int pad2)
Set method for struct member 'pad2'.
|
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'.
|
void |
setPalette(CPointer<Palette> palette)
Set method for struct member 'palette'.
|
void |
setSymmetry_flags(int symmetry_flags)
Set method for struct member 'symmetry_flags'.
|
void |
setTile_offset(CArrayFacade<java.lang.Float> tile_offset)
Set method for struct member 'tile_offset'.
|
__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__palette
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__palette); CPointer<CPointer<Palette>> p_palette = p.cast(new Class[]{CPointer.class, Palette.class});
public static final long[] __DNA__FIELD__cavity_curve
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__cavity_curve); CPointer<CPointer<CurveMapping>> p_cavity_curve = p.cast(new Class[]{CPointer.class, CurveMapping.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__symmetry_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__symmetry_flags); CPointer<Integer> p_symmetry_flags = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__tile_offset
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__tile_offset); CPointer<CArrayFacade<Float>> p_tile_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__pad2
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__pad2); CPointer<Integer> p_pad2 = 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<Palette> getPalette() throws java.io.IOException
java.io.IOException
__DNA__FIELD__palette
public void setPalette(CPointer<Palette> palette) throws java.io.IOException
java.io.IOException
__DNA__FIELD__palette
public CPointer<CurveMapping> getCavity_curve() throws java.io.IOException
java.io.IOException
__DNA__FIELD__cavity_curve
public void setCavity_curve(CPointer<CurveMapping> cavity_curve) throws java.io.IOException
java.io.IOException
__DNA__FIELD__cavity_curve
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 getSymmetry_flags() throws java.io.IOException
java.io.IOException
__DNA__FIELD__symmetry_flags
public void setSymmetry_flags(int symmetry_flags) throws java.io.IOException
java.io.IOException
__DNA__FIELD__symmetry_flags
public CArrayFacade<java.lang.Float> getTile_offset() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tile_offset
public void setTile_offset(CArrayFacade<java.lang.Float> tile_offset) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tile_offset
public int getPad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad2
public void setPad2(int pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad2