Modifier and Type | Field and Description |
---|---|
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__pad
Field descriptor (offset) for struct member 'pad'.
|
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 int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MTexPoly.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MTexPoly(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MTexPoly(MTexPoly that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MTexPoly> |
__io__addressof()
Instantiates a pointer on this instance.
|
byte |
getFlag()
Get method for struct member 'flag'.
|
short |
getMode()
Get method for struct member 'mode'.
|
short |
getPad()
Get method for struct member 'pad'.
|
short |
getTile()
Get method for struct member 'tile'.
|
CPointer<Image> |
getTpage()
Get method for struct member 'tpage'.
|
byte |
getTransp()
Get method for struct member 'transp'.
|
void |
setFlag(byte flag)
Set method for struct member 'flag'.
|
void |
setMode(short mode)
Set method for struct member 'mode'.
|
void |
setPad(short pad)
Set method for struct member 'pad'.
|
void |
setTile(short tile)
Set method for struct member 'tile'.
|
void |
setTpage(CPointer<Image> tpage)
Set method for struct member 'tpage'.
|
void |
setTransp(byte transp)
Set method for struct member 'transp'.
|
__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 MTexPoly.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__tpage
This is how you get a reference on the corresponding field in the struct:
MTexPoly mtexpoly = ...; CPointer<Object> p = mtexpoly.__dna__addressof(MTexPoly.__DNA__FIELD__tpage); CPointer<CPointer<Image>> p_tpage = p.cast(new Class[]{CPointer.class, Image.class});
public static final long[] __DNA__FIELD__flag
// TF_SELECT = (1 << 0), // use MFace hide flag (after 2.43), should be able to reuse after 2.44 // TF_ACTIVE = (1 << 1), // deprecated! TF_SEL1 = (1 << 2), TF_SEL2 = (1 << 3), TF_SEL3 = (1 << 4), TF_SEL4 = (1 << 5),
This is how you get a reference on the corresponding field in the struct:
MTexPoly mtexpoly = ...; CPointer<Object> p = mtexpoly.__dna__addressof(MTexPoly.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__transp
This is how you get a reference on the corresponding field in the struct:
MTexPoly mtexpoly = ...; CPointer<Object> p = mtexpoly.__dna__addressof(MTexPoly.__DNA__FIELD__transp); CPointer<Byte> p_transp = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__mode
This is how you get a reference on the corresponding field in the struct:
MTexPoly mtexpoly = ...; CPointer<Object> p = mtexpoly.__dna__addressof(MTexPoly.__DNA__FIELD__mode); CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__tile
This is how you get a reference on the corresponding field in the struct:
MTexPoly mtexpoly = ...; CPointer<Object> p = mtexpoly.__dna__addressof(MTexPoly.__DNA__FIELD__tile); CPointer<Short> p_tile = 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:
MTexPoly mtexpoly = ...; CPointer<Object> p = mtexpoly.__dna__addressof(MTexPoly.__DNA__FIELD__pad); CPointer<Short> p_pad = p.cast(new Class[]{Short.class});
public MTexPoly(long __address, Block __block, BlockTable __blockTable)
protected MTexPoly(MTexPoly that)
public CPointer<Image> getTpage() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tpage
public void setTpage(CPointer<Image> tpage) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tpage
public byte getFlag() throws java.io.IOException
// TF_SELECT = (1 << 0), // use MFace hide flag (after 2.43), should be able to reuse after 2.44 // TF_ACTIVE = (1 << 1), // deprecated! TF_SEL1 = (1 << 2), TF_SEL2 = (1 << 3), TF_SEL3 = (1 << 4), TF_SEL4 = (1 << 5),
java.io.IOException
__DNA__FIELD__flag
public void setFlag(byte flag) throws java.io.IOException
// TF_SELECT = (1 << 0), // use MFace hide flag (after 2.43), should be able to reuse after 2.44 // TF_ACTIVE = (1 << 1), // deprecated! TF_SEL1 = (1 << 2), TF_SEL2 = (1 << 3), TF_SEL3 = (1 << 4), TF_SEL4 = (1 << 5),
java.io.IOException
__DNA__FIELD__flag
public byte getTransp() throws java.io.IOException
java.io.IOException
__DNA__FIELD__transp
public void setTransp(byte transp) throws java.io.IOException
java.io.IOException
__DNA__FIELD__transp
public short getMode() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mode
public void setMode(short mode) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mode
public short getTile() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tile
public void setTile(short tile) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tile
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