public class Panel_Runtime extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__block
Field descriptor (offset) for struct member 'block'.
|
static long[] |
__DNA__FIELD__custom_data_ptr
Field descriptor (offset) for struct member 'custom_data_ptr'.
|
static long[] |
__DNA__FIELD__region_ofsx
Field descriptor (offset) for struct member 'region_ofsx'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Panel_Runtime.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
Panel_Runtime(long __address,
Block __block,
BlockTable __blockTable) |
protected |
Panel_Runtime(Panel_Runtime that) |
Modifier and Type | Method and Description |
---|---|
CPointer<Panel_Runtime> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
CPointer<java.lang.Object> |
getBlock()
Get method for struct member 'block'.
|
CPointer<java.lang.Object> |
getCustom_data_ptr()
Get method for struct member 'custom_data_ptr'.
|
int |
getRegion_ofsx()
Get method for struct member 'region_ofsx'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setBlock(CPointer<java.lang.Object> block)
Set method for struct member 'block'.
|
void |
setCustom_data_ptr(CPointer<java.lang.Object> custom_data_ptr)
Set method for struct member 'custom_data_ptr'.
|
void |
setRegion_ofsx(int region_ofsx)
Set method for struct member 'region_ofsx'.
|
__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 Panel_Runtime.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__region_ofsx
Applied to Panel.ofsx
, but saved separately so we can track changes between redraws.
This is how you get a reference on the corresponding field in the struct:
Panel_Runtime panel_runtime = ...; CPointer<Object> p = panel_runtime.__dna__addressof(Panel_Runtime.__DNA__FIELD__region_ofsx); CPointer<Integer> p_region_ofsx = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
Panel_Runtime panel_runtime = ...; CPointer<Object> p = panel_runtime.__dna__addressof(Panel_Runtime.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__custom_data_ptr
Pointer for storing which data the panel corresponds to. Useful when there can be multiple instances of the same panel type.
A panel and its sub-panels share the same custom data pointer. This avoids freeing the same pointer twice when panels are removed.
A panel and its sub-panels share the same custom data pointer. This avoids freeing the same pointer twice when panels are removed.This is how you get a reference on the corresponding field in the struct:
Panel_Runtime panel_runtime = ...; CPointer<Object> p = panel_runtime.__dna__addressof(Panel_Runtime.__DNA__FIELD__custom_data_ptr); CPointer<CPointer<Object>> p_custom_data_ptr = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__block
Pointer to the panel's block. Useful when changes to panel #uiBlocks need some context from traversal of the panel "tree".
This is how you get a reference on the corresponding field in the struct:
Panel_Runtime panel_runtime = ...; CPointer<Object> p = panel_runtime.__dna__addressof(Panel_Runtime.__DNA__FIELD__block); CPointer<CPointer<Object>> p_block = p.cast(new Class[]{CPointer.class, Object.class});
public Panel_Runtime(long __address, Block __block, BlockTable __blockTable)
protected Panel_Runtime(Panel_Runtime that)
public int getRegion_ofsx() throws java.io.IOException
Applied to Panel.ofsx
, but saved separately so we can track changes between redraws.
java.io.IOException
__DNA__FIELD__region_ofsx
public void setRegion_ofsx(int region_ofsx) throws java.io.IOException
Applied to Panel.ofsx
, but saved separately so we can track changes between redraws.
java.io.IOException
__DNA__FIELD__region_ofsx
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public CPointer<java.lang.Object> getCustom_data_ptr() throws java.io.IOException
Pointer for storing which data the panel corresponds to. Useful when there can be multiple instances of the same panel type.
A panel and its sub-panels share the same custom data pointer. This avoids freeing the same pointer twice when panels are removed.
A panel and its sub-panels share the same custom data pointer. This avoids freeing the same pointer twice when panels are removed.java.io.IOException
__DNA__FIELD__custom_data_ptr
public void setCustom_data_ptr(CPointer<java.lang.Object> custom_data_ptr) throws java.io.IOException
Pointer for storing which data the panel corresponds to. Useful when there can be multiple instances of the same panel type.
A panel and its sub-panels share the same custom data pointer. This avoids freeing the same pointer twice when panels are removed.
A panel and its sub-panels share the same custom data pointer. This avoids freeing the same pointer twice when panels are removed.java.io.IOException
__DNA__FIELD__custom_data_ptr
public CPointer<java.lang.Object> getBlock() throws java.io.IOException
Pointer to the panel's block. Useful when changes to panel #uiBlocks need some context from traversal of the panel "tree".
java.io.IOException
__DNA__FIELD__block
public void setBlock(CPointer<java.lang.Object> block) throws java.io.IOException
Pointer to the panel's block. Useful when changes to panel #uiBlocks need some context from traversal of the panel "tree".
java.io.IOException
__DNA__FIELD__block
public CPointer<Panel_Runtime> __io__addressof()