public class bGPDpalette extends CFacade
palette of colors
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__colors
Field descriptor (offset) for struct member 'colors'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__info
Field descriptor (offset) for struct member 'info'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPDpalette.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPDpalette(bGPDpalette that) |
|
bGPDpalette(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPDpalette> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
ListBase |
getColors()
Get method for struct member 'colors'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Byte> |
getInfo()
Get method for struct member 'info'.
|
CPointer<bGPDpalette> |
getNext()
Get method for struct member 'next'.
|
CPointer<bGPDpalette> |
getPrev()
Get method for struct member 'prev'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setColors(ListBase colors)
Set method for struct member 'colors'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setInfo(CArrayFacade<java.lang.Byte> info)
Set method for struct member 'info'.
|
void |
setNext(CPointer<bGPDpalette> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<bGPDpalette> prev)
Set method for struct member 'prev'.
|
__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 bGPDpalette.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
bGPDpalette bgpdpalette = ...; CPointer<Object> p = bgpdpalette.__dna__addressof(bGPDpalette.__DNA__FIELD__next); CPointer<CPointer<bGPDpalette>> p_next = p.cast(new Class[]{CPointer.class, bGPDpalette.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
bGPDpalette bgpdpalette = ...; CPointer<Object> p = bgpdpalette.__dna__addressof(bGPDpalette.__DNA__FIELD__prev); CPointer<CPointer<bGPDpalette>> p_prev = p.cast(new Class[]{CPointer.class, bGPDpalette.class});
public static final long[] __DNA__FIELD__colors
Pointer to individual colors.
This is how you get a reference on the corresponding field in the struct:
bGPDpalette bgpdpalette = ...; CPointer<Object> p = bgpdpalette.__dna__addressof(bGPDpalette.__DNA__FIELD__colors); CPointer<ListBase> p_colors = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__info
Palette
name. Must be unique.
This is how you get a reference on the corresponding field in the struct:
bGPDpalette bgpdpalette = ...; CPointer<Object> p = bgpdpalette.__dna__addressof(bGPDpalette.__DNA__FIELD__info); CPointer<CArrayFacade<Byte>> p_info = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
bGPDpalette bgpdpalette = ...; CPointer<Object> p = bgpdpalette.__dna__addressof(bGPDpalette.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
bGPDpalette bgpdpalette = ...; CPointer<Object> p = bgpdpalette.__dna__addressof(bGPDpalette.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public bGPDpalette(long __address, Block __block, BlockTable __blockTable)
protected bGPDpalette(bGPDpalette that)
public CPointer<bGPDpalette> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<bGPDpalette> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<bGPDpalette> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<bGPDpalette> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public ListBase getColors() throws java.io.IOException
Pointer to individual colors.
java.io.IOException
__DNA__FIELD__colors
public void setColors(ListBase colors) throws java.io.IOException
Pointer to individual colors.
java.io.IOException
__DNA__FIELD__colors
public CArrayFacade<java.lang.Byte> getInfo() throws java.io.IOException
Palette
name. Must be unique.
java.io.IOException
__DNA__FIELD__info
public void setInfo(CArrayFacade<java.lang.Byte> info) throws java.io.IOException
Palette
name. Must be unique.
java.io.IOException
__DNA__FIELD__info
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public CPointer<bGPDpalette> __io__addressof()