Package org.blender.dna
Class NodeShaderScript
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.NodeShaderScript
-
public class NodeShaderScript extends CFacade
Generated facet for DNA struct type 'NodeShaderScript'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__bytecode
Field descriptor (offset) for struct member 'bytecode'.static long[]
__DNA__FIELD__bytecode_hash
Field descriptor (offset) for struct member 'bytecode_hash'.static long[]
__DNA__FIELD__filepath
Field descriptor (offset) for struct member 'filepath'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct NodeShaderScript.-
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 NodeShaderScript(long __address, Block __block, BlockTable __blockTable)
protected
NodeShaderScript(NodeShaderScript that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<NodeShaderScript>
__io__addressof()
Instantiates a pointer on this instance.CPointer<java.lang.Byte>
getBytecode()
Get method for struct member 'bytecode'.CArrayFacade<java.lang.Byte>
getBytecode_hash()
Get method for struct member 'bytecode_hash'.CArrayFacade<java.lang.Byte>
getFilepath()
Get method for struct member 'filepath'.int
getFlag()
Get method for struct member 'flag'.int
getMode()
Get method for struct member 'mode'.void
setBytecode(CPointer<java.lang.Byte> bytecode)
Set method for struct member 'bytecode'.void
setBytecode_hash(CArrayFacade<java.lang.Byte> bytecode_hash)
Set method for struct member 'bytecode_hash'.void
setFilepath(CArrayFacade<java.lang.Byte> filepath)
Set method for struct member 'filepath'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setMode(int mode)
Set method for struct member '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 NodeShaderScript.It is required when allocating a new block to store data for NodeShaderScript.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeShaderScript nodeshaderscript = ...; CPointer<Object> p = nodeshaderscript.__dna__addressof(NodeShaderScript.__DNA__FIELD__mode); CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'mode'
- Signature: 'int'
- 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:
NodeShaderScript nodeshaderscript = ...; CPointer<Object> p = nodeshaderscript.__dna__addressof(NodeShaderScript.__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__filepath
public static final long[] __DNA__FIELD__filepath
Field descriptor (offset) for struct member 'filepath'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeShaderScript nodeshaderscript = ...; CPointer<Object> p = nodeshaderscript.__dna__addressof(NodeShaderScript.__DNA__FIELD__filepath); CPointer<CArrayFacade<Byte>> p_filepath = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'filepath'
- Signature: 'char[1024]'
- Actual Size (32bit/64bit): 1024/1024
-
__DNA__FIELD__bytecode_hash
public static final long[] __DNA__FIELD__bytecode_hash
Field descriptor (offset) for struct member 'bytecode_hash'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeShaderScript nodeshaderscript = ...; CPointer<Object> p = nodeshaderscript.__dna__addressof(NodeShaderScript.__DNA__FIELD__bytecode_hash); CPointer<CArrayFacade<Byte>> p_bytecode_hash = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'bytecode_hash'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__bytecode
public static final long[] __DNA__FIELD__bytecode
Field descriptor (offset) for struct member 'bytecode'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeShaderScript nodeshaderscript = ...; CPointer<Object> p = nodeshaderscript.__dna__addressof(NodeShaderScript.__DNA__FIELD__bytecode); CPointer<CPointer<Byte>> p_bytecode = p.cast(new Class[]{CPointer.class, Byte.class});
Metadata
- Field: 'bytecode'
- Signature: 'char*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
NodeShaderScript
public NodeShaderScript(long __address, Block __block, BlockTable __blockTable)
-
NodeShaderScript
protected NodeShaderScript(NodeShaderScript that)
-
-
Method Detail
-
getMode
public int getMode() throws java.io.IOException
Get method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
setMode
public void setMode(int mode) throws java.io.IOException
Set method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
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
-
getFilepath
public CArrayFacade<java.lang.Byte> getFilepath() throws java.io.IOException
Get method for struct member 'filepath'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filepath
-
setFilepath
public void setFilepath(CArrayFacade<java.lang.Byte> filepath) throws java.io.IOException
Set method for struct member 'filepath'.Field Documentation
Blender Source Code
1024 = FILE_MAX.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filepath
-
getBytecode_hash
public CArrayFacade<java.lang.Byte> getBytecode_hash() throws java.io.IOException
Get method for struct member 'bytecode_hash'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bytecode_hash
-
setBytecode_hash
public void setBytecode_hash(CArrayFacade<java.lang.Byte> bytecode_hash) throws java.io.IOException
Set method for struct member 'bytecode_hash'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bytecode_hash
-
getBytecode
public CPointer<java.lang.Byte> getBytecode() throws java.io.IOException
Get method for struct member 'bytecode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bytecode
-
setBytecode
public void setBytecode(CPointer<java.lang.Byte> bytecode) throws java.io.IOException
Set method for struct member 'bytecode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__bytecode
-
__io__addressof
public CPointer<NodeShaderScript> __io__addressof()
Instantiates a pointer on this instance.
-
-