public class TexPaintSlot extends CFacade
WATCH IT: change type? also make changes in ipo.h
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__ima
Field descriptor (offset) for struct member 'ima'.
|
static long[] |
__DNA__FIELD__interp
Field descriptor (offset) for struct member 'interp'.
|
static long[] |
__DNA__FIELD__uvname
Field descriptor (offset) for struct member 'uvname'.
|
static long[] |
__DNA__FIELD__valid
Field descriptor (offset) for struct member 'valid'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct TexPaintSlot.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
TexPaintSlot(long __address,
Block __block,
BlockTable __blockTable) |
protected |
TexPaintSlot(TexPaintSlot that) |
Modifier and Type | Method and Description |
---|---|
CPointer<TexPaintSlot> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<Image> |
getIma()
Get method for struct member 'ima'.
|
int |
getInterp()
Get method for struct member 'interp'.
|
CPointer<java.lang.Byte> |
getUvname()
Get method for struct member 'uvname'.
|
int |
getValid()
Get method for struct member 'valid'.
|
void |
setIma(CPointer<Image> ima)
Set method for struct member 'ima'.
|
void |
setInterp(int interp)
Set method for struct member 'interp'.
|
void |
setUvname(CPointer<java.lang.Byte> uvname)
Set method for struct member 'uvname'.
|
void |
setValid(int valid)
Set method for struct member 'valid'.
|
__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 TexPaintSlot.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__ima
Image
to be painted on.
This is how you get a reference on the corresponding field in the struct:
TexPaintSlot texpaintslot = ...; CPointer<Object> p = texpaintslot.__dna__addressof(TexPaintSlot.__DNA__FIELD__ima); CPointer<CPointer<Image>> p_ima = p.cast(new Class[]{CPointer.class, Image.class});
public static final long[] __DNA__FIELD__uvname
Customdata index for uv layer, MAX_NAM.E
This is how you get a reference on the corresponding field in the struct:
TexPaintSlot texpaintslot = ...; CPointer<Object> p = texpaintslot.__dna__addressof(TexPaintSlot.__DNA__FIELD__uvname); CPointer<CPointer<Byte>> p_uvname = p.cast(new Class[]{CPointer.class, Byte.class});
public static final long[] __DNA__FIELD__valid
Do we have a valid image and UV map.
This is how you get a reference on the corresponding field in the struct:
TexPaintSlot texpaintslot = ...; CPointer<Object> p = texpaintslot.__dna__addressof(TexPaintSlot.__DNA__FIELD__valid); CPointer<Integer> p_valid = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__interp
Copy of node inteporlation setting.
This is how you get a reference on the corresponding field in the struct:
TexPaintSlot texpaintslot = ...; CPointer<Object> p = texpaintslot.__dna__addressof(TexPaintSlot.__DNA__FIELD__interp); CPointer<Integer> p_interp = p.cast(new Class[]{Integer.class});
public TexPaintSlot(long __address, Block __block, BlockTable __blockTable)
protected TexPaintSlot(TexPaintSlot that)
public CPointer<Image> getIma() throws java.io.IOException
Image
to be painted on.
java.io.IOException
__DNA__FIELD__ima
public void setIma(CPointer<Image> ima) throws java.io.IOException
Image
to be painted on.
java.io.IOException
__DNA__FIELD__ima
public CPointer<java.lang.Byte> getUvname() throws java.io.IOException
Customdata index for uv layer, MAX_NAM.E
java.io.IOException
__DNA__FIELD__uvname
public void setUvname(CPointer<java.lang.Byte> uvname) throws java.io.IOException
Customdata index for uv layer, MAX_NAM.E
java.io.IOException
__DNA__FIELD__uvname
public int getValid() throws java.io.IOException
Do we have a valid image and UV map.
java.io.IOException
__DNA__FIELD__valid
public void setValid(int valid) throws java.io.IOException
Do we have a valid image and UV map.
java.io.IOException
__DNA__FIELD__valid
public int getInterp() throws java.io.IOException
Copy of node inteporlation setting.
java.io.IOException
__DNA__FIELD__interp
public void setInterp(int interp) throws java.io.IOException
Copy of node inteporlation setting.
java.io.IOException
__DNA__FIELD__interp
public CPointer<TexPaintSlot> __io__addressof()