Package org.blender.dna
Class MaskSpaceInfo
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MaskSpaceInfo
-
public class MaskSpaceInfo extends CFacade
Generated facet for DNA struct type 'MaskSpaceInfo'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad3
Field descriptor (offset) for struct member '_pad3'.static long[]
__DNA__FIELD__blend_factor
Field descriptor (offset) for struct member 'blend_factor'.static long[]
__DNA__FIELD__draw_flag
Field descriptor (offset) for struct member 'draw_flag'.static long[]
__DNA__FIELD__draw_type
Field descriptor (offset) for struct member 'draw_type'.static long[]
__DNA__FIELD__mask
Field descriptor (offset) for struct member 'mask'.static long[]
__DNA__FIELD__overlay_mode
Field descriptor (offset) for struct member 'overlay_mode'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MaskSpaceInfo.-
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 MaskSpaceInfo(long __address, Block __block, BlockTable __blockTable)
protected
MaskSpaceInfo(MaskSpaceInfo that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MaskSpaceInfo>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad3()
Get method for struct member '_pad3'.float
getBlend_factor()
Get method for struct member 'blend_factor'.byte
getDraw_flag()
Get method for struct member 'draw_flag'.byte
getDraw_type()
Get method for struct member 'draw_type'.CPointer<Mask>
getMask()
Get method for struct member 'mask'.byte
getOverlay_mode()
Get method for struct member 'overlay_mode'.void
set_pad3(CArrayFacade<java.lang.Byte> _pad3)
Set method for struct member '_pad3'.void
setBlend_factor(float blend_factor)
Set method for struct member 'blend_factor'.void
setDraw_flag(byte draw_flag)
Set method for struct member 'draw_flag'.void
setDraw_type(byte draw_type)
Set method for struct member 'draw_type'.void
setMask(CPointer<Mask> mask)
Set method for struct member 'mask'.void
setOverlay_mode(byte overlay_mode)
Set method for struct member 'overlay_mode'.-
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 MaskSpaceInfo.It is required when allocating a new block to store data for MaskSpaceInfo.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__mask
public static final long[] __DNA__FIELD__mask
Field descriptor (offset) for struct member 'mask'.Field Documentation
Blender Source Code
**** mask editing ****
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskSpaceInfo maskspaceinfo = ...; CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD__mask); CPointer<CPointer<Mask>> p_mask = p.cast(new Class[]{CPointer.class, Mask.class});
Metadata
- Field: 'mask'
- Signature: 'Mask*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__draw_flag
public static final long[] __DNA__FIELD__draw_flag
Field descriptor (offset) for struct member 'draw_flag'.Field Documentation
Blender Source Code
draw options
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskSpaceInfo maskspaceinfo = ...; CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD__draw_flag); CPointer<Byte> p_draw_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'draw_flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__draw_type
public static final long[] __DNA__FIELD__draw_type
Field descriptor (offset) for struct member 'draw_type'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskSpaceInfo maskspaceinfo = ...; CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD__draw_type); CPointer<Byte> p_draw_type = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'draw_type'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__overlay_mode
public static final long[] __DNA__FIELD__overlay_mode
Field descriptor (offset) for struct member 'overlay_mode'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskSpaceInfo maskspaceinfo = ...; CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD__overlay_mode); CPointer<Byte> p_overlay_mode = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'overlay_mode'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD___pad3
public static final long[] __DNA__FIELD___pad3
Field descriptor (offset) for struct member '_pad3'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MaskSpaceInfo maskspaceinfo = ...; CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__DNA__FIELD___pad3); CPointer<CArrayFacade<Byte>> p__pad3 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad3'
- Signature: 'char[1]'
- Actual Size (32bit/64bit): 1/1
-
__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:
MaskSpaceInfo maskspaceinfo = ...; CPointer<Object> p = maskspaceinfo.__dna__addressof(MaskSpaceInfo.__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
-
-
Constructor Detail
-
MaskSpaceInfo
public MaskSpaceInfo(long __address, Block __block, BlockTable __blockTable)
-
MaskSpaceInfo
protected MaskSpaceInfo(MaskSpaceInfo that)
-
-
Method Detail
-
getMask
public CPointer<Mask> getMask() throws java.io.IOException
Get method for struct member 'mask'.Field Documentation
Blender Source Code
**** mask editing ****
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mask
-
setMask
public void setMask(CPointer<Mask> mask) throws java.io.IOException
Set method for struct member 'mask'.Field Documentation
Blender Source Code
**** mask editing ****
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mask
-
getDraw_flag
public byte getDraw_flag() throws java.io.IOException
Get method for struct member 'draw_flag'.Field Documentation
Blender Source Code
draw options
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__draw_flag
-
setDraw_flag
public void setDraw_flag(byte draw_flag) throws java.io.IOException
Set method for struct member 'draw_flag'.Field Documentation
Blender Source Code
draw options
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__draw_flag
-
getDraw_type
public byte getDraw_type() throws java.io.IOException
Get method for struct member 'draw_type'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__draw_type
-
setDraw_type
public void setDraw_type(byte draw_type) throws java.io.IOException
Set method for struct member 'draw_type'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__draw_type
-
getOverlay_mode
public byte getOverlay_mode() throws java.io.IOException
Get method for struct member 'overlay_mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__overlay_mode
-
setOverlay_mode
public void setOverlay_mode(byte overlay_mode) throws java.io.IOException
Set method for struct member 'overlay_mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__overlay_mode
-
get_pad3
public CArrayFacade<java.lang.Byte> get_pad3() throws java.io.IOException
Get method for struct member '_pad3'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad3
-
set_pad3
public void set_pad3(CArrayFacade<java.lang.Byte> _pad3) throws java.io.IOException
Set method for struct member '_pad3'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad3
-
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
-
__io__addressof
public CPointer<MaskSpaceInfo> __io__addressof()
Instantiates a pointer on this instance.
-
-