Class ColorMapping
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ColorMapping
-
public class ColorMapping extends CFacade
Generated facet for DNA struct type 'ColorMapping'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__blend_color
Field descriptor (offset) for struct member 'blend_color'.static long[]
__DNA__FIELD__blend_factor
Field descriptor (offset) for struct member 'blend_factor'.static long[]
__DNA__FIELD__blend_type
Field descriptor (offset) for struct member 'blend_type'.static long[]
__DNA__FIELD__bright
Field descriptor (offset) for struct member 'bright'.static long[]
__DNA__FIELD__coba
Field descriptor (offset) for struct member 'coba'.static long[]
__DNA__FIELD__contrast
Field descriptor (offset) for struct member 'contrast'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__saturation
Field descriptor (offset) for struct member 'saturation'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ColorMapping.-
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 ColorMapping(long __address, Block __block, BlockTable __blockTable)
protected
ColorMapping(ColorMapping that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ColorMapping>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Float>
getBlend_color()
Get method for struct member 'blend_color'.float
getBlend_factor()
Get method for struct member 'blend_factor'.int
getBlend_type()
Get method for struct member 'blend_type'.float
getBright()
Get method for struct member 'bright'.ColorBand
getCoba()
Get method for struct member 'coba'.float
getContrast()
Get method for struct member 'contrast'.int
getFlag()
Get method for struct member 'flag'.float
getSaturation()
Get method for struct member 'saturation'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setBlend_color(CArrayFacade<java.lang.Float> blend_color)
Set method for struct member 'blend_color'.void
setBlend_factor(float blend_factor)
Set method for struct member 'blend_factor'.void
setBlend_type(int blend_type)
Set method for struct member 'blend_type'.void
setBright(float bright)
Set method for struct member 'bright'.void
setCoba(ColorBand coba)
Set method for struct member 'coba'.void
setContrast(float contrast)
Set method for struct member 'contrast'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setSaturation(float saturation)
Set method for struct member 'saturation'.-
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 ColorMapping.It is required when allocating a new block to store data for ColorMapping.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__coba
public static final long[] __DNA__FIELD__coba
Field descriptor (offset) for struct member 'coba'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD__coba); CPointer<ColorBand> p_coba = p.cast(new Class[]{ColorBand.class});
Metadata
- Field: 'coba'
- Signature: 'ColorBand'
- Actual Size (32bit/64bit): 776/776
-
__DNA__FIELD__bright
public static final long[] __DNA__FIELD__bright
Field descriptor (offset) for struct member 'bright'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD__bright); CPointer<Float> p_bright = p.cast(new Class[]{Float.class});
Metadata
- Field: 'bright'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__contrast
public static final long[] __DNA__FIELD__contrast
Field descriptor (offset) for struct member 'contrast'.Field Documentation
Blender Python API
Adjust the contrast of the texturePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD__contrast); CPointer<Float> p_contrast = p.cast(new Class[]{Float.class});
Metadata
- Field: 'contrast'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__saturation
public static final long[] __DNA__FIELD__saturation
Field descriptor (offset) for struct member 'saturation'.Field Documentation
Blender Python API
Adjust the saturation of colors in the texturePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD__saturation); CPointer<Float> p_saturation = p.cast(new Class[]{Float.class});
Metadata
- Field: 'saturation'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__blend_color
public static final long[] __DNA__FIELD__blend_color
Field descriptor (offset) for struct member 'blend_color'.Field Documentation
Blender Python API
Blend color to mix with texture output colorPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD__blend_color); CPointer<CArrayFacade<Float>> p_blend_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'blend_color'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__blend_factor
public static final long[] __DNA__FIELD__blend_factor
Field descriptor (offset) for struct member 'blend_factor'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD__blend_factor); CPointer<Float> p_blend_factor = p.cast(new Class[]{Float.class});
Metadata
- Field: 'blend_factor'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__blend_type
public static final long[] __DNA__FIELD__blend_type
Field descriptor (offset) for struct member 'blend_type'.Field Documentation
Blender Python API
Mode used to mix with texture output colorPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD__blend_type); CPointer<Integer> p_blend_type = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'blend_type'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__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:
ColorMapping colormapping = ...; CPointer<Object> p = colormapping.__dna__addressof(ColorMapping.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ColorMapping
public ColorMapping(long __address, Block __block, BlockTable __blockTable)
-
ColorMapping
protected ColorMapping(ColorMapping that)
-
-
Method Detail
-
getCoba
public ColorBand getCoba() throws java.io.IOException
Get method for struct member 'coba'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__coba
-
setCoba
public void setCoba(ColorBand coba) throws java.io.IOException
Set method for struct member 'coba'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__coba
-
getBright
public float getBright() throws java.io.IOException
Get method for struct member 'bright'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bright
-
setBright
public void setBright(float bright) throws java.io.IOException
Set method for struct member 'bright'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bright
-
getContrast
public float getContrast() throws java.io.IOException
Get method for struct member 'contrast'.Field Documentation
Blender Python API
Adjust the contrast of the texture- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__contrast
-
setContrast
public void setContrast(float contrast) throws java.io.IOException
Set method for struct member 'contrast'.Field Documentation
Blender Python API
Adjust the contrast of the texture- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__contrast
-
getSaturation
public float getSaturation() throws java.io.IOException
Get method for struct member 'saturation'.Field Documentation
Blender Python API
Adjust the saturation of colors in the texture- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__saturation
-
setSaturation
public void setSaturation(float saturation) throws java.io.IOException
Set method for struct member 'saturation'.Field Documentation
Blender Python API
Adjust the saturation of colors in the texture- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__saturation
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getBlend_color
public CArrayFacade<java.lang.Float> getBlend_color() throws java.io.IOException
Get method for struct member 'blend_color'.Field Documentation
Blender Python API
Blend color to mix with texture output color- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_color
-
setBlend_color
public void setBlend_color(CArrayFacade<java.lang.Float> blend_color) throws java.io.IOException
Set method for struct member 'blend_color'.Field Documentation
Blender Python API
Blend color to mix with texture output color- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_color
-
getBlend_factor
public float getBlend_factor() throws java.io.IOException
Get method for struct member 'blend_factor'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_factor
-
setBlend_factor
public void setBlend_factor(float blend_factor) throws java.io.IOException
Set method for struct member 'blend_factor'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_factor
-
getBlend_type
public int getBlend_type() throws java.io.IOException
Get method for struct member 'blend_type'.Field Documentation
Blender Python API
Mode used to mix with texture output color- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_type
-
setBlend_type
public void setBlend_type(int blend_type) throws java.io.IOException
Set method for struct member 'blend_type'.Field Documentation
Blender Python API
Mode used to mix with texture output color- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__blend_type
-
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
-
__io__addressof
public CPointer<ColorMapping> __io__addressof()
Instantiates a pointer on this instance.
-
-