Package org.blender.dna
Class TFace
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.TFace
-
public class TFace extends CFacade
Generated facet for DNA struct type 'TFace'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__col
Field descriptor (offset) for struct member 'col'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.static long[]
__DNA__FIELD__tile
Field descriptor (offset) for struct member 'tile'.static long[]
__DNA__FIELD__tpage
Field descriptor (offset) for struct member 'tpage'.static long[]
__DNA__FIELD__transp
Field descriptor (offset) for struct member 'transp'.static long[]
__DNA__FIELD__unwrap
Field descriptor (offset) for struct member 'unwrap'.static long[]
__DNA__FIELD__uv
Field descriptor (offset) for struct member 'uv'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct TFace.-
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 TFace(long __address, Block __block, BlockTable __blockTable)
protected
TFace(TFace that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<TFace>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Integer>
getCol()
Get method for struct member 'col'.byte
getFlag()
Get method for struct member 'flag'.short
getMode()
Get method for struct member 'mode'.short
getTile()
Get method for struct member 'tile'.CPointer<java.lang.Object>
getTpage()
Get method for struct member 'tpage'.byte
getTransp()
Get method for struct member 'transp'.short
getUnwrap()
Get method for struct member 'unwrap'.CArrayFacade<CArrayFacade<java.lang.Float>>
getUv()
Get method for struct member 'uv'.void
setCol(CArrayFacade<java.lang.Integer> col)
Set method for struct member 'col'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setMode(short mode)
Set method for struct member 'mode'.void
setTile(short tile)
Set method for struct member 'tile'.void
setTpage(CPointer<java.lang.Object> tpage)
Set method for struct member 'tpage'.void
setTransp(byte transp)
Set method for struct member 'transp'.void
setUnwrap(short unwrap)
Set method for struct member 'unwrap'.void
setUv(CArrayFacade<CArrayFacade<java.lang.Float>> uv)
Set method for struct member 'uv'.-
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 TFace.It is required when allocating a new block to store data for TFace.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__tpage
public static final long[] __DNA__FIELD__tpage
Field descriptor (offset) for struct member 'tpage'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TFace tface = ...; CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__tpage); CPointer<CPointer<Object>> p_tpage = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'tpage'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__uv
public static final long[] __DNA__FIELD__uv
Field descriptor (offset) for struct member 'uv'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TFace tface = ...; CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__uv); CPointer<CArrayFacade<CArrayFacade<Float>>> p_uv = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'uv'
- Signature: 'float[4][2]'
- Actual Size (32bit/64bit): 32/32
-
__DNA__FIELD__col
public static final long[] __DNA__FIELD__col
Field descriptor (offset) for struct member 'col'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TFace tface = ...; CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__col); CPointer<CArrayFacade<Integer>> p_col = p.cast(new Class[]{CArrayFacade.class, Integer.class});
Metadata
- Field: 'col'
- Signature: 'int[4]'
- Actual Size (32bit/64bit): 16/16
-
__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:
TFace tface = ...; CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__transp
public static final long[] __DNA__FIELD__transp
Field descriptor (offset) for struct member 'transp'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TFace tface = ...; CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__transp); CPointer<Byte> p_transp = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'transp'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TFace tface = ...; CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__mode); CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
Metadata
- Field: 'mode'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__tile
public static final long[] __DNA__FIELD__tile
Field descriptor (offset) for struct member 'tile'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TFace tface = ...; CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__tile); CPointer<Short> p_tile = p.cast(new Class[]{Short.class});
Metadata
- Field: 'tile'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__unwrap
public static final long[] __DNA__FIELD__unwrap
Field descriptor (offset) for struct member 'unwrap'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TFace tface = ...; CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__unwrap); CPointer<Short> p_unwrap = p.cast(new Class[]{Short.class});
Metadata
- Field: 'unwrap'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
-
Constructor Detail
-
TFace
public TFace(long __address, Block __block, BlockTable __blockTable)
-
TFace
protected TFace(TFace that)
-
-
Method Detail
-
getTpage
public CPointer<java.lang.Object> getTpage() throws java.io.IOException
Get method for struct member 'tpage'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tpage
-
setTpage
public void setTpage(CPointer<java.lang.Object> tpage) throws java.io.IOException
Set method for struct member 'tpage'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tpage
-
getUv
public CArrayFacade<CArrayFacade<java.lang.Float>> getUv() throws java.io.IOException
Get method for struct member 'uv'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv
-
setUv
public void setUv(CArrayFacade<CArrayFacade<java.lang.Float>> uv) throws java.io.IOException
Set method for struct member 'uv'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv
-
getCol
public CArrayFacade<java.lang.Integer> getCol() throws java.io.IOException
Get method for struct member 'col'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__col
-
setCol
public void setCol(CArrayFacade<java.lang.Integer> col) throws java.io.IOException
Set method for struct member 'col'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__col
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(byte flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getTransp
public byte getTransp() throws java.io.IOException
Get method for struct member 'transp'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__transp
-
setTransp
public void setTransp(byte transp) throws java.io.IOException
Set method for struct member 'transp'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__transp
-
getMode
public short getMode() throws java.io.IOException
Get method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
setMode
public void setMode(short mode) throws java.io.IOException
Set method for struct member 'mode'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
getTile
public short getTile() throws java.io.IOException
Get method for struct member 'tile'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tile
-
setTile
public void setTile(short tile) throws java.io.IOException
Set method for struct member 'tile'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tile
-
getUnwrap
public short getUnwrap() throws java.io.IOException
Get method for struct member 'unwrap'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__unwrap
-
setUnwrap
public void setUnwrap(short unwrap) throws java.io.IOException
Set method for struct member 'unwrap'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__unwrap
-
-