Package org.blender.dna
Class NodeTexGradient
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.NodeTexGradient
-
public class NodeTexGradient extends CFacade
Generated facet for DNA struct type 'NodeTexGradient'.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__base
Field descriptor (offset) for struct member 'base'.static long[]
__DNA__FIELD__gradient_type
Field descriptor (offset) for struct member 'gradient_type'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct NodeTexGradient.-
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 NodeTexGradient(long __address, Block __block, BlockTable __blockTable)
protected
NodeTexGradient(NodeTexGradient that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<NodeTexGradient>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.NodeTexBase
getBase()
Get method for struct member 'base'.int
getGradient_type()
Get method for struct member 'gradient_type'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setBase(NodeTexBase base)
Set method for struct member 'base'.void
setGradient_type(int gradient_type)
Set method for struct member 'gradient_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 NodeTexGradient.It is required when allocating a new block to store data for NodeTexGradient.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__base
public static final long[] __DNA__FIELD__base
Field descriptor (offset) for struct member 'base'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeTexGradient nodetexgradient = ...; CPointer<Object> p = nodetexgradient.__dna__addressof(NodeTexGradient.__DNA__FIELD__base); CPointer<NodeTexBase> p_base = p.cast(new Class[]{NodeTexBase.class});
Metadata
- Field: 'base'
- Signature: 'NodeTexBase'
- Actual Size (32bit/64bit): 956/960
-
__DNA__FIELD__gradient_type
public static final long[] __DNA__FIELD__gradient_type
Field descriptor (offset) for struct member 'gradient_type'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
NodeTexGradient nodetexgradient = ...; CPointer<Object> p = nodetexgradient.__dna__addressof(NodeTexGradient.__DNA__FIELD__gradient_type); CPointer<Integer> p_gradient_type = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'gradient_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:
NodeTexGradient nodetexgradient = ...; CPointer<Object> p = nodetexgradient.__dna__addressof(NodeTexGradient.__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
-
NodeTexGradient
public NodeTexGradient(long __address, Block __block, BlockTable __blockTable)
-
NodeTexGradient
protected NodeTexGradient(NodeTexGradient that)
-
-
Method Detail
-
getBase
public NodeTexBase getBase() throws java.io.IOException
Get method for struct member 'base'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base
-
setBase
public void setBase(NodeTexBase base) throws java.io.IOException
Set method for struct member 'base'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__base
-
getGradient_type
public int getGradient_type() throws java.io.IOException
Get method for struct member 'gradient_type'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_type
-
setGradient_type
public void setGradient_type(int gradient_type) throws java.io.IOException
Set method for struct member 'gradient_type'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gradient_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<NodeTexGradient> __io__addressof()
Instantiates a pointer on this instance.
-
-