Class TexPaintSlot
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.TexPaintSlot
-
public class TexPaintSlot extends CFacade
Generated facet for DNA struct type 'TexPaintSlot'.Class Documentation
Blender Source Code
WATCH IT: change type? also make changes in ipo.h
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 TexPaintSlot(long __address, Block __block, BlockTable __blockTable)
protected
TexPaintSlot(TexPaintSlot that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 TexPaintSlot.It is required when allocating a new block to store data for TexPaintSlot.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__ima
public static final long[] __DNA__FIELD__ima
Field descriptor (offset) for struct member 'ima'.Field Documentation
Blender Source Code
Image
to be painted on.Pointer Arithmetics
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});
Metadata
- Field: 'ima'
- Signature: 'Image*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__uvname
public static final long[] __DNA__FIELD__uvname
Field descriptor (offset) for struct member 'uvname'.Field Documentation
Blender Source Code
Customdata index for uv layer, MAX_NAM.E
Pointer Arithmetics
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});
Metadata
- Field: 'uvname'
- Signature: 'char*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__valid
public static final long[] __DNA__FIELD__valid
Field descriptor (offset) for struct member 'valid'.Field Documentation
Blender Source Code
Do we have a valid image and UV map.
Pointer Arithmetics
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});
Metadata
- Field: 'valid'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__interp
public static final long[] __DNA__FIELD__interp
Field descriptor (offset) for struct member 'interp'.Field Documentation
Blender Source Code
Copy of node inteporlation setting.
Pointer Arithmetics
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});
Metadata
- Field: 'interp'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
TexPaintSlot
public TexPaintSlot(long __address, Block __block, BlockTable __blockTable)
-
TexPaintSlot
protected TexPaintSlot(TexPaintSlot that)
-
-
Method Detail
-
getIma
public CPointer<Image> getIma() throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ima
-
setIma
public void setIma(CPointer<Image> ima) throws java.io.IOException
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ima
-
getUvname
public CPointer<java.lang.Byte> getUvname() throws java.io.IOException
Get method for struct member 'uvname'.Field Documentation
Blender Source Code
Customdata index for uv layer, MAX_NAM.E
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uvname
-
setUvname
public void setUvname(CPointer<java.lang.Byte> uvname) throws java.io.IOException
Set method for struct member 'uvname'.Field Documentation
Blender Source Code
Customdata index for uv layer, MAX_NAM.E
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uvname
-
getValid
public int getValid() throws java.io.IOException
Get method for struct member 'valid'.Field Documentation
Blender Source Code
Do we have a valid image and UV map.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__valid
-
setValid
public void setValid(int valid) throws java.io.IOException
Set method for struct member 'valid'.Field Documentation
Blender Source Code
Do we have a valid image and UV map.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__valid
-
getInterp
public int getInterp() throws java.io.IOException
Get method for struct member 'interp'.Field Documentation
Blender Source Code
Copy of node inteporlation setting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__interp
-
setInterp
public void setInterp(int interp) throws java.io.IOException
Set method for struct member 'interp'.Field Documentation
Blender Source Code
Copy of node inteporlation setting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__interp
-
__io__addressof
public CPointer<TexPaintSlot> __io__addressof()
Instantiates a pointer on this instance.
-
-