Class 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 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
        Get method for struct member 'ima'.

        Field Documentation

        Blender Source Code

        Image to be painted on.

        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.

        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.