Package org.blender.dna
Class AssetTag
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.AssetTag
-
public class AssetTag extends CFacade
Generated facet for DNA struct type 'AssetTag'.Class Documentation
Blender Source Code
User defined tag. Currently only used by assets, could be used more often at some point. Maybe add a custom icon and color to these in future?
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct AssetTag.-
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 AssetTag(long __address, Block __block, BlockTable __blockTable)
protected
AssetTag(AssetTag that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<AssetTag>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
getName()
Get method for struct member 'name'.CPointer<AssetTag>
getNext()
Get method for struct member 'next'.CPointer<AssetTag>
getPrev()
Get method for struct member 'prev'.void
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.void
setNext(CPointer<AssetTag> next)
Set method for struct member 'next'.void
setPrev(CPointer<AssetTag> prev)
Set method for struct member 'prev'.-
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 AssetTag.It is required when allocating a new block to store data for AssetTag.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__next
public static final long[] __DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
AssetTag assettag = ...; CPointer<Object> p = assettag.__dna__addressof(AssetTag.__DNA__FIELD__next); CPointer<CPointer<AssetTag>> p_next = p.cast(new Class[]{CPointer.class, AssetTag.class});
Metadata
- Field: 'next'
- Signature: 'AssetTag*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__prev
public static final long[] __DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
AssetTag assettag = ...; CPointer<Object> p = assettag.__dna__addressof(AssetTag.__DNA__FIELD__prev); CPointer<CPointer<AssetTag>> p_prev = p.cast(new Class[]{CPointer.class, AssetTag.class});
Metadata
- Field: 'prev'
- Signature: 'AssetTag*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__name
public static final long[] __DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.Field Documentation
Blender Python API
The identifier that makes up this tagBlender Source Code
MAX_NAME
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
AssetTag assettag = ...; CPointer<Object> p = assettag.__dna__addressof(AssetTag.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'name'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
-
Constructor Detail
-
AssetTag
public AssetTag(long __address, Block __block, BlockTable __blockTable)
-
AssetTag
protected AssetTag(AssetTag that)
-
-
Method Detail
-
getNext
public CPointer<AssetTag> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
setNext
public void setNext(CPointer<AssetTag> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<AssetTag> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
setPrev
public void setPrev(CPointer<AssetTag> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getName
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
Get method for struct member 'name'.Field Documentation
Blender Python API
The identifier that makes up this tagBlender Source Code
MAX_NAME
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
setName
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
Set method for struct member 'name'.Field Documentation
Blender Python API
The identifier that makes up this tagBlender Source Code
MAX_NAME
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
-