Class SolidColorVars


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         SolidColorVars solidcolorvars = ...;
         CPointer<Object> p = solidcolorvars.__dna__addressof(SolidColorVars.__DNA__FIELD__col);
         CPointer<CArrayFacade<Float>> p_col = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'col'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         SolidColorVars solidcolorvars = ...;
         CPointer<Object> p = solidcolorvars.__dna__addressof(SolidColorVars.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • SolidColorVars

        public SolidColorVars​(long __address,
                              Block __block,
                              BlockTable __blockTable)
    • Method Detail

      • getCol

        public CArrayFacade<java.lang.Float> getCol()
                                             throws java.io.IOException
        Get method for struct member 'col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col
      • setCol

        public void setCol​(CArrayFacade<java.lang.Float> col)
                    throws java.io.IOException
        Set method for struct member 'col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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