Package org.blender.dna
Class ColorBand
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ColorBand
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__color_mode
Field descriptor (offset) for struct member 'color_mode'.static long[]
__DNA__FIELD__cur
Field descriptor (offset) for struct member 'cur'.static long[]
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.static long[]
__DNA__FIELD__ipotype
Field descriptor (offset) for struct member 'ipotype'.static long[]
__DNA__FIELD__ipotype_hue
Field descriptor (offset) for struct member 'ipotype_hue'.static long[]
__DNA__FIELD__tot
Field descriptor (offset) for struct member 'tot'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ColorBand.-
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 ColorBand(long __address, Block __block, BlockTable __blockTable)
protected
ColorBand(ColorBand that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ColorBand>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.byte
getColor_mode()
Get method for struct member 'color_mode'.short
getCur()
Get method for struct member 'cur'.CArrayFacade<CBData>
getData()
Get method for struct member 'data'.byte
getIpotype()
Get method for struct member 'ipotype'.byte
getIpotype_hue()
Get method for struct member 'ipotype_hue'.short
getTot()
Get method for struct member 'tot'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setColor_mode(byte color_mode)
Set method for struct member 'color_mode'.void
setCur(short cur)
Set method for struct member 'cur'.void
setData(CArrayFacade<CBData> data)
Set method for struct member 'data'.void
setIpotype(byte ipotype)
Set method for struct member 'ipotype'.void
setIpotype_hue(byte ipotype_hue)
Set method for struct member 'ipotype_hue'.void
setTot(short tot)
Set method for struct member 'tot'.-
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 ColorBand.It is required when allocating a new block to store data for ColorBand.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__tot
public static final long[] __DNA__FIELD__tot
Field descriptor (offset) for struct member 'tot'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__tot); CPointer<Short> p_tot = p.cast(new Class[]{Short.class});
Metadata
- Field: 'tot'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__cur
public static final long[] __DNA__FIELD__cur
Field descriptor (offset) for struct member 'cur'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__cur); CPointer<Short> p_cur = p.cast(new Class[]{Short.class});
Metadata
- Field: 'cur'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__ipotype
public static final long[] __DNA__FIELD__ipotype
Field descriptor (offset) for struct member 'ipotype'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__ipotype); CPointer<Byte> p_ipotype = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'ipotype'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__ipotype_hue
public static final long[] __DNA__FIELD__ipotype_hue
Field descriptor (offset) for struct member 'ipotype_hue'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__ipotype_hue); CPointer<Byte> p_ipotype_hue = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'ipotype_hue'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__color_mode
public static final long[] __DNA__FIELD__color_mode
Field descriptor (offset) for struct member 'color_mode'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__color_mode); CPointer<Byte> p_color_mode = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'color_mode'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[1]'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__data
public static final long[] __DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorBand colorband = ...; CPointer<Object> p = colorband.__dna__addressof(ColorBand.__DNA__FIELD__data); CPointer<CArrayFacade<CBData>> p_data = p.cast(new Class[]{CArrayFacade.class, CBData.class});
Metadata
- Field: 'data'
- Signature: 'CBData[32]'
- Actual Size (32bit/64bit): 768/768
-
-
Constructor Detail
-
ColorBand
public ColorBand(long __address, Block __block, BlockTable __blockTable)
-
ColorBand
protected ColorBand(ColorBand that)
-
-
Method Detail
-
getTot
public short getTot() throws java.io.IOException
Get method for struct member 'tot'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tot
-
setTot
public void setTot(short tot) throws java.io.IOException
Set method for struct member 'tot'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tot
-
getCur
public short getCur() throws java.io.IOException
Get method for struct member 'cur'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cur
-
setCur
public void setCur(short cur) throws java.io.IOException
Set method for struct member 'cur'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cur
-
getIpotype
public byte getIpotype() throws java.io.IOException
Get method for struct member 'ipotype'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ipotype
-
setIpotype
public void setIpotype(byte ipotype) throws java.io.IOException
Set method for struct member 'ipotype'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ipotype
-
getIpotype_hue
public byte getIpotype_hue() throws java.io.IOException
Get method for struct member 'ipotype_hue'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ipotype_hue
-
setIpotype_hue
public void setIpotype_hue(byte ipotype_hue) throws java.io.IOException
Set method for struct member 'ipotype_hue'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ipotype_hue
-
getColor_mode
public byte getColor_mode() throws java.io.IOException
Get method for struct member 'color_mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color_mode
-
setColor_mode
public void setColor_mode(byte color_mode) throws java.io.IOException
Set method for struct member 'color_mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color_mode
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
getData
public CArrayFacade<CBData> getData() throws java.io.IOException
Get method for struct member 'data'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
setData
public void setData(CArrayFacade<CBData> data) throws java.io.IOException
Set method for struct member 'data'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
-