Class PreviewImage
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.PreviewImage
-
public class PreviewImage extends CFacade
Generated facet for DNA struct type 'PreviewImage'.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__changed_timestamp
Field descriptor (offset) for struct member 'changed_timestamp'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__gputexture
Field descriptor (offset) for struct member 'gputexture'.static long[]
__DNA__FIELD__h
Field descriptor (offset) for struct member 'h'.static long[]
__DNA__FIELD__icon_id
Field descriptor (offset) for struct member 'icon_id'.static long[]
__DNA__FIELD__rect
Field descriptor (offset) for struct member 'rect'.static long[]
__DNA__FIELD__tag
Field descriptor (offset) for struct member 'tag'.static long[]
__DNA__FIELD__w
Field descriptor (offset) for struct member 'w'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct PreviewImage.-
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 PreviewImage(long __address, Block __block, BlockTable __blockTable)
protected
PreviewImage(PreviewImage that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<PreviewImage>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Short>
getChanged_timestamp()
Get method for struct member 'changed_timestamp'.CArrayFacade<java.lang.Short>
getFlag()
Get method for struct member 'flag'.CArrayFacade<CPointer<java.lang.Object>>
getGputexture()
Get method for struct member 'gputexture'.CArrayFacade<java.lang.Integer>
getH()
Get method for struct member 'h'.int
getIcon_id()
Get method for struct member 'icon_id'.CArrayFacade<CPointer<java.lang.Integer>>
getRect()
Get method for struct member 'rect'.short
getTag()
Get method for struct member 'tag'.CArrayFacade<java.lang.Integer>
getW()
Get method for struct member 'w'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setChanged_timestamp(CArrayFacade<java.lang.Short> changed_timestamp)
Set method for struct member 'changed_timestamp'.void
setFlag(CArrayFacade<java.lang.Short> flag)
Set method for struct member 'flag'.void
setGputexture(CArrayFacade<CPointer<java.lang.Object>> gputexture)
Set method for struct member 'gputexture'.void
setH(CArrayFacade<java.lang.Integer> h)
Set method for struct member 'h'.void
setIcon_id(int icon_id)
Set method for struct member 'icon_id'.void
setRect(CArrayFacade<CPointer<java.lang.Integer>> rect)
Set method for struct member 'rect'.void
setTag(short tag)
Set method for struct member 'tag'.void
setW(CArrayFacade<java.lang.Integer> w)
Set method for struct member 'w'.-
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 PreviewImage.It is required when allocating a new block to store data for PreviewImage.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__w
public static final long[] __DNA__FIELD__w
Field descriptor (offset) for struct member 'w'.Field Documentation
Blender Source Code
All values of 2 are really NUM_ICON_SIZES
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD__w); CPointer<CArrayFacade<Integer>> p_w = p.cast(new Class[]{CArrayFacade.class, Integer.class});
Metadata
- Field: 'w'
- Signature: 'int[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__h
public static final long[] __DNA__FIELD__h
Field descriptor (offset) for struct member 'h'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD__h); CPointer<CArrayFacade<Integer>> p_h = p.cast(new Class[]{CArrayFacade.class, Integer.class});
Metadata
- Field: 'h'
- Signature: 'int[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD__flag); CPointer<CArrayFacade<Short>> p_flag = p.cast(new Class[]{CArrayFacade.class, Short.class});
Metadata
- Field: 'flag'
- Signature: 'short[2]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__changed_timestamp
public static final long[] __DNA__FIELD__changed_timestamp
Field descriptor (offset) for struct member 'changed_timestamp'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD__changed_timestamp); CPointer<CArrayFacade<Short>> p_changed_timestamp = p.cast(new Class[]{CArrayFacade.class, Short.class});
Metadata
- Field: 'changed_timestamp'
- Signature: 'short[2]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__rect
public static final long[] __DNA__FIELD__rect
Field descriptor (offset) for struct member 'rect'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD__rect); CPointer<CArrayFacade<CPointer<Integer>>> p_rect = p.cast(new Class[]{CArrayFacade.class, CPointer.class, Integer.class});
Metadata
- Field: 'rect'
- Signature: 'int*[2]'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__gputexture
public static final long[] __DNA__FIELD__gputexture
Field descriptor (offset) for struct member 'gputexture'.Field Documentation
Blender Source Code
Runtime-only data.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD__gputexture); CPointer<CArrayFacade<CPointer<Object>>> p_gputexture = p.cast(new Class[]{CArrayFacade.class, CPointer.class, Object.class});
Metadata
- Field: 'gputexture'
- Signature: 'GPUTexture*[2]'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__icon_id
public static final long[] __DNA__FIELD__icon_id
Field descriptor (offset) for struct member 'icon_id'.Field Documentation
Blender Source Code
Used by previews outside of
ID
context.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD__icon_id); CPointer<Integer> p_icon_id = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'icon_id'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__tag
public static final long[] __DNA__FIELD__tag
Field descriptor (offset) for struct member 'tag'.Field Documentation
Blender Source Code
Runtime data.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD__tag); CPointer<Short> p_tag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'tag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__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:
PreviewImage previewimage = ...; CPointer<Object> p = previewimage.__dna__addressof(PreviewImage.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[2]'
- Actual Size (32bit/64bit): 2/2
-
-
Constructor Detail
-
PreviewImage
public PreviewImage(long __address, Block __block, BlockTable __blockTable)
-
PreviewImage
protected PreviewImage(PreviewImage that)
-
-
Method Detail
-
getW
public CArrayFacade<java.lang.Integer> getW() throws java.io.IOException
Get method for struct member 'w'.Field Documentation
Blender Source Code
All values of 2 are really NUM_ICON_SIZES
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__w
-
setW
public void setW(CArrayFacade<java.lang.Integer> w) throws java.io.IOException
Set method for struct member 'w'.Field Documentation
Blender Source Code
All values of 2 are really NUM_ICON_SIZES
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__w
-
getH
public CArrayFacade<java.lang.Integer> getH() throws java.io.IOException
Get method for struct member 'h'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h
-
setH
public void setH(CArrayFacade<java.lang.Integer> h) throws java.io.IOException
Set method for struct member 'h'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h
-
getFlag
public CArrayFacade<java.lang.Short> getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(CArrayFacade<java.lang.Short> flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getChanged_timestamp
public CArrayFacade<java.lang.Short> getChanged_timestamp() throws java.io.IOException
Get method for struct member 'changed_timestamp'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__changed_timestamp
-
setChanged_timestamp
public void setChanged_timestamp(CArrayFacade<java.lang.Short> changed_timestamp) throws java.io.IOException
Set method for struct member 'changed_timestamp'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__changed_timestamp
-
getRect
public CArrayFacade<CPointer<java.lang.Integer>> getRect() throws java.io.IOException
Get method for struct member 'rect'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rect
-
setRect
public void setRect(CArrayFacade<CPointer<java.lang.Integer>> rect) throws java.io.IOException
Set method for struct member 'rect'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rect
-
getGputexture
public CArrayFacade<CPointer<java.lang.Object>> getGputexture() throws java.io.IOException
Get method for struct member 'gputexture'.Field Documentation
Blender Source Code
Runtime-only data.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gputexture
-
setGputexture
public void setGputexture(CArrayFacade<CPointer<java.lang.Object>> gputexture) throws java.io.IOException
Set method for struct member 'gputexture'.Field Documentation
Blender Source Code
Runtime-only data.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gputexture
-
getIcon_id
public int getIcon_id() throws java.io.IOException
Get method for struct member 'icon_id'.Field Documentation
Blender Source Code
Used by previews outside of
ID
context.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__icon_id
-
setIcon_id
public void setIcon_id(int icon_id) throws java.io.IOException
Set method for struct member 'icon_id'.Field Documentation
Blender Source Code
Used by previews outside of
ID
context.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__icon_id
-
getTag
public short getTag() throws java.io.IOException
Get method for struct member 'tag'.Field Documentation
Blender Source Code
Runtime data.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tag
-
setTag
public void setTag(short tag) throws java.io.IOException
Set method for struct member 'tag'.Field Documentation
Blender Source Code
Runtime data.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tag
-
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<PreviewImage> __io__addressof()
Instantiates a pointer on this instance.
-
-