public class bGPdata extends CFacade
Grease-Pencil Annotations - 'DataBlock'
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__layers
Field descriptor (offset) for struct member 'layers'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__palettes
Field descriptor (offset) for struct member 'palettes'.
|
static long[] |
__DNA__FIELD__sbuffer
Field descriptor (offset) for struct member 'sbuffer'.
|
static long[] |
__DNA__FIELD__sbuffer_sflag
Field descriptor (offset) for struct member 'sbuffer_sflag'.
|
static long[] |
__DNA__FIELD__sbuffer_size
Field descriptor (offset) for struct member 'sbuffer_size'.
|
static long[] |
__DNA__FIELD__scolor
Field descriptor (offset) for struct member 'scolor'.
|
static long[] |
__DNA__FIELD__sflag
Field descriptor (offset) for struct member 'sflag'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPdata.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPdata(bGPdata that) |
|
bGPdata(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPdata> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<AnimData> |
getAdt()
Get method for struct member 'adt'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
ID |
getId()
Get method for struct member 'id'.
|
ListBase |
getLayers()
Get method for struct member 'layers'.
|
CArrayFacade<java.lang.Byte> |
getPad()
Get method for struct member 'pad'.
|
ListBase |
getPalettes()
Get method for struct member 'palettes'.
|
short |
getSbuffer_sflag()
Get method for struct member 'sbuffer_sflag'.
|
short |
getSbuffer_size()
Get method for struct member 'sbuffer_size'.
|
CPointer<java.lang.Object> |
getSbuffer()
Get method for struct member 'sbuffer'.
|
CArrayFacade<java.lang.Float> |
getScolor()
Get method for struct member 'scolor'.
|
short |
getSflag()
Get method for struct member 'sflag'.
|
void |
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setLayers(ListBase layers)
Set method for struct member 'layers'.
|
void |
setPad(CArrayFacade<java.lang.Byte> pad)
Set method for struct member 'pad'.
|
void |
setPalettes(ListBase palettes)
Set method for struct member 'palettes'.
|
void |
setSbuffer_sflag(short sbuffer_sflag)
Set method for struct member 'sbuffer_sflag'.
|
void |
setSbuffer_size(short sbuffer_size)
Set method for struct member 'sbuffer_size'.
|
void |
setSbuffer(CPointer<java.lang.Object> sbuffer)
Set method for struct member 'sbuffer'.
|
void |
setScolor(CArrayFacade<java.lang.Float> scolor)
Set method for struct member 'scolor'.
|
void |
setSflag(short sflag)
Set method for struct member 'sflag'.
|
__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 bGPdata.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
Grease Pencil data is a datablock
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__adt
animation data - for animating draw settings
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
public static final long[] __DNA__FIELD__layers
saved Grease-Pencil data bGPDlayers
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__layers); CPointer<ListBase> p_layers = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__flag
settings for this datablock
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__sbuffer_size
not-saved stroke buffer data (only used during paint-session)
buffer must be initialized before use, but freed after whole paint operation is overnumber of elements currently in cache
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__sbuffer_size); CPointer<Short> p_sbuffer_size = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__sbuffer_sflag
flags for stroke that cache represents
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__sbuffer_sflag); CPointer<Short> p_sbuffer_sflag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__sbuffer
stroke buffer (can hold GP_STROKE_BUFFER_MAX)
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__sbuffer); CPointer<CPointer<Object>> p_sbuffer = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__scolor
buffer color using palettes
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__scolor); CPointer<CArrayFacade<Float>> p_scolor = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__pad
padding for compiler alignment error
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__pad); CPointer<CArrayFacade<Byte>> p_pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__sflag
settings for palette color
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__sflag); CPointer<Short> p_sflag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__palettes
saved palettes
This is how you get a reference on the corresponding field in the struct:
bGPdata bgpdata = ...; CPointer<Object> p = bgpdata.__dna__addressof(bGPdata.__DNA__FIELD__palettes); CPointer<ListBase> p_palettes = p.cast(new Class[]{ListBase.class});
public bGPdata(long __address, Block __block, BlockTable __blockTable)
protected bGPdata(bGPdata that)
public ID getId() throws java.io.IOException
Grease Pencil data is a datablock
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
Grease Pencil data is a datablock
java.io.IOException
__DNA__FIELD__id
public CPointer<AnimData> getAdt() throws java.io.IOException
animation data - for animating draw settings
java.io.IOException
__DNA__FIELD__adt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
animation data - for animating draw settings
java.io.IOException
__DNA__FIELD__adt
public ListBase getLayers() throws java.io.IOException
saved Grease-Pencil data bGPDlayers
java.io.IOException
__DNA__FIELD__layers
public void setLayers(ListBase layers) throws java.io.IOException
saved Grease-Pencil data bGPDlayers
java.io.IOException
__DNA__FIELD__layers
public int getFlag() throws java.io.IOException
settings for this datablock
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
settings for this datablock
java.io.IOException
__DNA__FIELD__flag
public short getSbuffer_size() throws java.io.IOException
not-saved stroke buffer data (only used during paint-session)
buffer must be initialized before use, but freed after whole paint operation is overnumber of elements currently in cache
java.io.IOException
__DNA__FIELD__sbuffer_size
public void setSbuffer_size(short sbuffer_size) throws java.io.IOException
not-saved stroke buffer data (only used during paint-session)
buffer must be initialized before use, but freed after whole paint operation is overnumber of elements currently in cache
java.io.IOException
__DNA__FIELD__sbuffer_size
public short getSbuffer_sflag() throws java.io.IOException
flags for stroke that cache represents
java.io.IOException
__DNA__FIELD__sbuffer_sflag
public void setSbuffer_sflag(short sbuffer_sflag) throws java.io.IOException
flags for stroke that cache represents
java.io.IOException
__DNA__FIELD__sbuffer_sflag
public CPointer<java.lang.Object> getSbuffer() throws java.io.IOException
stroke buffer (can hold GP_STROKE_BUFFER_MAX)
java.io.IOException
__DNA__FIELD__sbuffer
public void setSbuffer(CPointer<java.lang.Object> sbuffer) throws java.io.IOException
stroke buffer (can hold GP_STROKE_BUFFER_MAX)
java.io.IOException
__DNA__FIELD__sbuffer
public CArrayFacade<java.lang.Float> getScolor() throws java.io.IOException
buffer color using palettes
java.io.IOException
__DNA__FIELD__scolor
public void setScolor(CArrayFacade<java.lang.Float> scolor) throws java.io.IOException
buffer color using palettes
java.io.IOException
__DNA__FIELD__scolor
public CArrayFacade<java.lang.Byte> getPad() throws java.io.IOException
padding for compiler alignment error
java.io.IOException
__DNA__FIELD__pad
public void setPad(CArrayFacade<java.lang.Byte> pad) throws java.io.IOException
padding for compiler alignment error
java.io.IOException
__DNA__FIELD__pad
public short getSflag() throws java.io.IOException
settings for palette color
java.io.IOException
__DNA__FIELD__sflag
public void setSflag(short sflag) throws java.io.IOException
settings for palette color
java.io.IOException
__DNA__FIELD__sflag
public ListBase getPalettes() throws java.io.IOException
saved palettes
java.io.IOException
__DNA__FIELD__palettes
public void setPalettes(ListBase palettes) throws java.io.IOException
saved palettes
java.io.IOException
__DNA__FIELD__palettes