public class bNodeInstanceHashEntry extends CFacade
Base
struct for entries in node instance hash. WARNING: pointers are cast to this struct internally, it must be first member in hash entry structs!
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__key
Field descriptor (offset) for struct member 'key'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__tag
Field descriptor (offset) for struct member 'tag'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bNodeInstanceHashEntry.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bNodeInstanceHashEntry(bNodeInstanceHashEntry that) |
|
bNodeInstanceHashEntry(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bNodeInstanceHashEntry> |
__io__addressof()
Instantiates a pointer on this instance.
|
bNodeInstanceKey |
getKey()
Get method for struct member 'key'.
|
short |
getPad()
Get method for struct member 'pad'.
|
short |
getTag()
Get method for struct member 'tag'.
|
void |
setKey(bNodeInstanceKey key)
Set method for struct member 'key'.
|
void |
setPad(short pad)
Set method for struct member 'pad'.
|
void |
setTag(short tag)
Set method for struct member 'tag'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for bNodeInstanceHashEntry.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__key
This is how you get a reference on the corresponding field in the struct:
bNodeInstanceHashEntry bnodeinstancehashentry = ...; CPointer<Object> p = bnodeinstancehashentry.__dna__addressof(bNodeInstanceHashEntry.__DNA__FIELD__key); CPointer<bNodeInstanceKey> p_key = p.cast(new Class[]{bNodeInstanceKey.class});
public static final long[] __DNA__FIELD__tag
tags for cleaning the cache
This is how you get a reference on the corresponding field in the struct:
bNodeInstanceHashEntry bnodeinstancehashentry = ...; CPointer<Object> p = bnodeinstancehashentry.__dna__addressof(bNodeInstanceHashEntry.__DNA__FIELD__tag); CPointer<Short> p_tag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
bNodeInstanceHashEntry bnodeinstancehashentry = ...; CPointer<Object> p = bnodeinstancehashentry.__dna__addressof(bNodeInstanceHashEntry.__DNA__FIELD__pad); CPointer<Short> p_pad = p.cast(new Class[]{Short.class});
public bNodeInstanceHashEntry(long __address, Block __block, BlockTable __blockTable)
protected bNodeInstanceHashEntry(bNodeInstanceHashEntry that)
public bNodeInstanceKey getKey() throws java.io.IOException
java.io.IOException
__DNA__FIELD__key
public void setKey(bNodeInstanceKey key) throws java.io.IOException
java.io.IOException
__DNA__FIELD__key
public short getTag() throws java.io.IOException
tags for cleaning the cache
java.io.IOException
__DNA__FIELD__tag
public void setTag(short tag) throws java.io.IOException
tags for cleaning the cache
java.io.IOException
__DNA__FIELD__tag
public short getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(short pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public CPointer<bNodeInstanceHashEntry> __io__addressof()