Class MLoopCol


  • public class MLoopCol
    extends CFacade
    Generated facet for DNA struct type 'MLoopCol'.

    Class Documentation

    Blender Source Code

    Note

    While alpha is currently is not in the view-port, this may eventually be added back, keep this value set to 255.

    While alpha is currently is not in the view-port, this may eventually be added back, keep this value set to 255.

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct MLoopCol.

        It is required when allocating a new block to store data for MLoopCol.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__r

        public static final long[] __DNA__FIELD__r
        Field descriptor (offset) for struct member 'r'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         MLoopCol mloopcol = ...;
         CPointer<Object> p = mloopcol.__dna__addressof(MLoopCol.__DNA__FIELD__r);
         CPointer<Byte> p_r = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'r'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__g

        public static final long[] __DNA__FIELD__g
        Field descriptor (offset) for struct member 'g'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         MLoopCol mloopcol = ...;
         CPointer<Object> p = mloopcol.__dna__addressof(MLoopCol.__DNA__FIELD__g);
         CPointer<Byte> p_g = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'g'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__b

        public static final long[] __DNA__FIELD__b
        Field descriptor (offset) for struct member 'b'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         MLoopCol mloopcol = ...;
         CPointer<Object> p = mloopcol.__dna__addressof(MLoopCol.__DNA__FIELD__b);
         CPointer<Byte> p_b = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'b'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__a

        public static final long[] __DNA__FIELD__a
        Field descriptor (offset) for struct member 'a'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         MLoopCol mloopcol = ...;
         CPointer<Object> p = mloopcol.__dna__addressof(MLoopCol.__DNA__FIELD__a);
         CPointer<Byte> p_a = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'a'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
    • Constructor Detail

      • MLoopCol

        public MLoopCol​(long __address,
                        Block __block,
                        BlockTable __blockTable)
      • MLoopCol

        protected MLoopCol​(MLoopCol that)
    • Method Detail

      • getR

        public byte getR()
                  throws java.io.IOException
        Get method for struct member 'r'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__r
      • setR

        public void setR​(byte r)
                  throws java.io.IOException
        Set method for struct member 'r'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__r
      • getG

        public byte getG()
                  throws java.io.IOException
        Get method for struct member 'g'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__g
      • setG

        public void setG​(byte g)
                  throws java.io.IOException
        Set method for struct member 'g'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__g
      • getB

        public byte getB()
                  throws java.io.IOException
        Get method for struct member 'b'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__b
      • setB

        public void setB​(byte b)
                  throws java.io.IOException
        Set method for struct member 'b'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__b
      • getA

        public byte getA()
                  throws java.io.IOException
        Get method for struct member 'a'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__a
      • setA

        public void setA​(byte a)
                  throws java.io.IOException
        Set method for struct member 'a'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__a
      • __io__addressof

        public CPointer<MLoopCol> __io__addressof()
        Instantiates a pointer on this instance.