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__attribute_name
Field descriptor (offset) for struct member 'attribute_name'.static long[]
__DNA__FIELD__ima
Field descriptor (offset) for struct member 'ima'.static long[]
__DNA__FIELD__image_user
Field descriptor (offset) for struct member 'image_user'.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<java.lang.Byte>
getAttribute_name()
Get method for struct member 'attribute_name'.CPointer<Image>
getIma()
Get method for struct member 'ima'.CPointer<ImageUser>
getImage_user()
Get method for struct member 'image_user'.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
setAttribute_name(CPointer<java.lang.Byte> attribute_name)
Set method for struct member 'attribute_name'.void
setIma(CPointer<Image> ima)
Set method for struct member 'ima'.void
setImage_user(CPointer<ImageUser> image_user)
Set method for struct member 'image_user'.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. Mutual exclusive with attribute_name.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__image_user
public static final long[] __DNA__FIELD__image_user
Field descriptor (offset) for struct member 'image_user'.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__image_user); CPointer<CPointer<ImageUser>> p_image_user = p.cast(new Class[]{CPointer.class, ImageUser.class});
Metadata
- Field: 'image_user'
- Signature: 'ImageUser*'
- 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
Custom-data index for uv layer, MAX_NAME .
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__attribute_name
public static final long[] __DNA__FIELD__attribute_name
Field descriptor (offset) for struct member 'attribute_name'.Field Documentation
Blender Source Code
Color attribute name when painting using color attributes. Mutual exclusive with ima. Points to the name of a
CustomDataLayer
.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__attribute_name); CPointer<CPointer<Byte>> p_attribute_name = p.cast(new Class[]{CPointer.class, Byte.class});
Metadata
- Field: 'attribute_name'
- 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 or attribute.
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 interpolation 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
Get method for struct member 'ima'.Field Documentation
Blender Source Code
Image
to be painted on. Mutual exclusive with attribute_name.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ima
-
setIma
public void setIma(CPointer<Image> ima) throws java.io.IOException
Set method for struct member 'ima'.Field Documentation
Blender Source Code
Image
to be painted on. Mutual exclusive with attribute_name.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ima
-
getImage_user
public CPointer<ImageUser> getImage_user() throws java.io.IOException
Get method for struct member 'image_user'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__image_user
-
setImage_user
public void setImage_user(CPointer<ImageUser> image_user) throws java.io.IOException
Set method for struct member 'image_user'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__image_user
-
getUvname
public CPointer<java.lang.Byte> getUvname() throws java.io.IOException
Get method for struct member 'uvname'.Field Documentation
Blender Source Code
Custom-data index for uv layer, MAX_NAME .
- 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
Custom-data index for uv layer, MAX_NAME .
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uvname
-
getAttribute_name
public CPointer<java.lang.Byte> getAttribute_name() throws java.io.IOException
Get method for struct member 'attribute_name'.Field Documentation
Blender Source Code
Color attribute name when painting using color attributes. Mutual exclusive with ima. Points to the name of a
CustomDataLayer
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attribute_name
-
setAttribute_name
public void setAttribute_name(CPointer<java.lang.Byte> attribute_name) throws java.io.IOException
Set method for struct member 'attribute_name'.Field Documentation
Blender Source Code
Color attribute name when painting using color attributes. Mutual exclusive with ima. Points to the name of a
CustomDataLayer
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attribute_name
-
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 or attribute.
- 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 or attribute.
- 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 interpolation 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 interpolation setting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__interp
-
__io__addressof
public CPointer<TexPaintSlot> __io__addressof()
Instantiates a pointer on this instance.
-
-