Package org.blender.dna
Class NodeSwitch
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.NodeSwitch
-
public class NodeSwitch extends CFacade
Generated facet for DNA struct type 'NodeSwitch'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__input_type
Field descriptor (offset) for struct member 'input_type'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct NodeSwitch.-
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 NodeSwitch(long __address, Block __block, BlockTable __blockTable)
protected
NodeSwitch(NodeSwitch that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<NodeSwitch>
__io__addressof()
Instantiates a pointer on this instance.byte
getInput_type()
Get method for struct member 'input_type'.void
setInput_type(byte input_type)
Set method for struct member 'input_type'.-
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 NodeSwitch.It is required when allocating a new block to store data for NodeSwitch.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__input_type
public static final long[] __DNA__FIELD__input_type
Field descriptor (offset) for struct member 'input_type'.Field Documentation
Blender Source Code
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeSwitch nodeswitch = ...; CPointer<Object> p = nodeswitch.__dna__addressof(NodeSwitch.__DNA__FIELD__input_type); CPointer<Byte> p_input_type = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'input_type'
- Signature: 'uchar'
- Actual Size (32bit/64bit): 1/1
-
-
Constructor Detail
-
NodeSwitch
public NodeSwitch(long __address, Block __block, BlockTable __blockTable)
-
NodeSwitch
protected NodeSwitch(NodeSwitch that)
-
-
Method Detail
-
getInput_type
public byte getInput_type() throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__input_type
-
setInput_type
public void setInput_type(byte input_type) throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__input_type
-
__io__addressof
public CPointer<NodeSwitch> __io__addressof()
Instantiates a pointer on this instance.
-
-