Package org.blender.dna
Class tPaletteColorHSV
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.tPaletteColorHSV
-
public class tPaletteColorHSV extends CFacade
Generated facet for DNA struct type 'tPaletteColorHSV'.Class Documentation
Blender Source Code
Struct to hold palette colors for sorting.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__h
Field descriptor (offset) for struct member 'h'.static long[]
__DNA__FIELD__rgb
Field descriptor (offset) for struct member 'rgb'.static long[]
__DNA__FIELD__s
Field descriptor (offset) for struct member 's'.static long[]
__DNA__FIELD__v
Field descriptor (offset) for struct member 'v'.static long[]
__DNA__FIELD__value
Field descriptor (offset) for struct member 'value'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct tPaletteColorHSV.-
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 tPaletteColorHSV(long __address, Block __block, BlockTable __blockTable)
protected
tPaletteColorHSV(tPaletteColorHSV that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<tPaletteColorHSV>
__io__addressof()
Instantiates a pointer on this instance.float
getH()
Get method for struct member 'h'.CArrayFacade<java.lang.Float>
getRgb()
Get method for struct member 'rgb'.float
getS()
Get method for struct member 's'.float
getV()
Get method for struct member 'v'.float
getValue()
Get method for struct member 'value'.void
setH(float h)
Set method for struct member 'h'.void
setRgb(CArrayFacade<java.lang.Float> rgb)
Set method for struct member 'rgb'.void
setS(float s)
Set method for struct member 's'.void
setV(float v)
Set method for struct member 'v'.void
setValue(float value)
Set method for struct member 'value'.-
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 tPaletteColorHSV.It is required when allocating a new block to store data for tPaletteColorHSV.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__rgb
public static final long[] __DNA__FIELD__rgb
Field descriptor (offset) for struct member 'rgb'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__rgb); CPointer<CArrayFacade<Float>> p_rgb = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'rgb'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__value
public static final long[] __DNA__FIELD__value
Field descriptor (offset) for struct member 'value'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__value); CPointer<Float> p_value = p.cast(new Class[]{Float.class});
Metadata
- Field: 'value'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__h
public static final long[] __DNA__FIELD__h
Field descriptor (offset) for struct member 'h'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__h); CPointer<Float> p_h = p.cast(new Class[]{Float.class});
Metadata
- Field: 'h'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__s
public static final long[] __DNA__FIELD__s
Field descriptor (offset) for struct member 's'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__s); CPointer<Float> p_s = p.cast(new Class[]{Float.class});
Metadata
- Field: 's'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__v
public static final long[] __DNA__FIELD__v
Field descriptor (offset) for struct member 'v'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
tPaletteColorHSV tpalettecolorhsv = ...; CPointer<Object> p = tpalettecolorhsv.__dna__addressof(tPaletteColorHSV.__DNA__FIELD__v); CPointer<Float> p_v = p.cast(new Class[]{Float.class});
Metadata
- Field: 'v'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
tPaletteColorHSV
public tPaletteColorHSV(long __address, Block __block, BlockTable __blockTable)
-
tPaletteColorHSV
protected tPaletteColorHSV(tPaletteColorHSV that)
-
-
Method Detail
-
getRgb
public CArrayFacade<java.lang.Float> getRgb() throws java.io.IOException
Get method for struct member 'rgb'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rgb
-
setRgb
public void setRgb(CArrayFacade<java.lang.Float> rgb) throws java.io.IOException
Set method for struct member 'rgb'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rgb
-
getValue
public float getValue() throws java.io.IOException
Get method for struct member 'value'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__value
-
setValue
public void setValue(float value) throws java.io.IOException
Set method for struct member 'value'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__value
-
getH
public float getH() throws java.io.IOException
Get method for struct member 'h'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h
-
setH
public void setH(float h) throws java.io.IOException
Set method for struct member 'h'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h
-
getS
public float getS() throws java.io.IOException
Get method for struct member 's'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__s
-
setS
public void setS(float s) throws java.io.IOException
Set method for struct member 's'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__s
-
getV
public float getV() throws java.io.IOException
Get method for struct member 'v'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v
-
setV
public void setV(float v) throws java.io.IOException
Set method for struct member 'v'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__v
-
__io__addressof
public CPointer<tPaletteColorHSV> __io__addressof()
Instantiates a pointer on this instance.
-
-