Package org.blender.dna
Class uiPreview
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.uiPreview
-
public class uiPreview extends CFacade
Generated facet for DNA struct type 'uiPreview'.Class Documentation
Blender Source Code
Some preview UI data need to be saved in file.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD__height
Field descriptor (offset) for struct member 'height'.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 long[]
__DNA__FIELD__preview_id
Field descriptor (offset) for struct member 'preview_id'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct uiPreview.-
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 uiPreview(long __address, Block __block, BlockTable __blockTable)
protected
uiPreview(uiPreview that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<uiPreview>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad1()
Get method for struct member '_pad1'.short
getHeight()
Get method for struct member 'height'.CPointer<uiPreview>
getNext()
Get method for struct member 'next'.CPointer<uiPreview>
getPrev()
Get method for struct member 'prev'.CArrayFacade<java.lang.Byte>
getPreview_id()
Get method for struct member 'preview_id'.void
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.void
setHeight(short height)
Set method for struct member 'height'.void
setNext(CPointer<uiPreview> next)
Set method for struct member 'next'.void
setPrev(CPointer<uiPreview> prev)
Set method for struct member 'prev'.void
setPreview_id(CArrayFacade<java.lang.Byte> preview_id)
Set method for struct member 'preview_id'.-
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 uiPreview.It is required when allocating a new block to store data for uiPreview.
- 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:
uiPreview uipreview = ...; CPointer<Object> p = uipreview.__dna__addressof(uiPreview.__DNA__FIELD__next); CPointer<CPointer<uiPreview>> p_next = p.cast(new Class[]{CPointer.class, uiPreview.class});
Metadata
- Field: 'next'
- Signature: 'uiPreview*'
- 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:
uiPreview uipreview = ...; CPointer<Object> p = uipreview.__dna__addressof(uiPreview.__DNA__FIELD__prev); CPointer<CPointer<uiPreview>> p_prev = p.cast(new Class[]{CPointer.class, uiPreview.class});
Metadata
- Field: 'prev'
- Signature: 'uiPreview*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__preview_id
public static final long[] __DNA__FIELD__preview_id
Field descriptor (offset) for struct member 'preview_id'.Field Documentation
Blender Source Code
Defined as #UI_MAX_NAME_STR.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiPreview uipreview = ...; CPointer<Object> p = uipreview.__dna__addressof(uiPreview.__DNA__FIELD__preview_id); CPointer<CArrayFacade<Byte>> p_preview_id = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'preview_id'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__height
public static final long[] __DNA__FIELD__height
Field descriptor (offset) for struct member 'height'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiPreview uipreview = ...; CPointer<Object> p = uipreview.__dna__addressof(uiPreview.__DNA__FIELD__height); CPointer<Short> p_height = p.cast(new Class[]{Short.class});
Metadata
- Field: 'height'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
uiPreview uipreview = ...; CPointer<Object> p = uipreview.__dna__addressof(uiPreview.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad1'
- Signature: 'char[6]'
- Actual Size (32bit/64bit): 6/6
-
-
Constructor Detail
-
uiPreview
public uiPreview(long __address, Block __block, BlockTable __blockTable)
-
uiPreview
protected uiPreview(uiPreview that)
-
-
Method Detail
-
getNext
public CPointer<uiPreview> 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<uiPreview> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<uiPreview> 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<uiPreview> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getPreview_id
public CArrayFacade<java.lang.Byte> getPreview_id() throws java.io.IOException
Get method for struct member 'preview_id'.Field Documentation
Blender Source Code
Defined as #UI_MAX_NAME_STR.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__preview_id
-
setPreview_id
public void setPreview_id(CArrayFacade<java.lang.Byte> preview_id) throws java.io.IOException
Set method for struct member 'preview_id'.Field Documentation
Blender Source Code
Defined as #UI_MAX_NAME_STR.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__preview_id
-
getHeight
public short getHeight() throws java.io.IOException
Get method for struct member 'height'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__height
-
setHeight
public void setHeight(short height) throws java.io.IOException
Set method for struct member 'height'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__height
-
get_pad1
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
-