Class TFace


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         TFace tface = ...;
         CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__tpage);
         CPointer<CPointer<Object>> p_tpage = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'tpage'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__uv

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

        Pointer Arithmetics

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

         TFace tface = ...;
         CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__uv);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_uv = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'uv'
        • Signature: 'float[4][2]'
        • Actual Size (32bit/64bit): 32/32
      • __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:

         TFace tface = ...;
         CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__col);
         CPointer<CArrayFacade<Integer>> p_col = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

        • Field: 'col'
        • Signature: 'int[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         TFace tface = ...;
         CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__transp

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

        Pointer Arithmetics

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

         TFace tface = ...;
         CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__transp);
         CPointer<Byte> p_transp = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'transp'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__mode

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

        Pointer Arithmetics

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

         TFace tface = ...;
         CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__mode);
         CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__tile

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

        Pointer Arithmetics

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

         TFace tface = ...;
         CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__tile);
         CPointer<Short> p_tile = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'tile'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__unwrap

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

        Pointer Arithmetics

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

         TFace tface = ...;
         CPointer<Object> p = tface.__dna__addressof(TFace.__DNA__FIELD__unwrap);
         CPointer<Short> p_unwrap = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'unwrap'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • TFace

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

        protected TFace​(TFace that)
    • Method Detail

      • getTpage

        public CPointer<java.lang.Object> getTpage()
                                            throws java.io.IOException
        Get method for struct member 'tpage'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tpage
      • setTpage

        public void setTpage​(CPointer<java.lang.Object> tpage)
                      throws java.io.IOException
        Set method for struct member 'tpage'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tpage
      • getCol

        public CArrayFacade<java.lang.Integer> 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.Integer> col)
                    throws java.io.IOException
        Set method for struct member 'col'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__col
      • getFlag

        public byte getFlag()
                     throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(byte flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getTransp

        public byte getTransp()
                       throws java.io.IOException
        Get method for struct member 'transp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__transp
      • setTransp

        public void setTransp​(byte transp)
                       throws java.io.IOException
        Set method for struct member 'transp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__transp
      • getMode

        public short getMode()
                      throws java.io.IOException
        Get method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

        public void setMode​(short mode)
                     throws java.io.IOException
        Set method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getTile

        public short getTile()
                      throws java.io.IOException
        Get method for struct member 'tile'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tile
      • setTile

        public void setTile​(short tile)
                     throws java.io.IOException
        Set method for struct member 'tile'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tile
      • getUnwrap

        public short getUnwrap()
                        throws java.io.IOException
        Get method for struct member 'unwrap'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__unwrap
      • setUnwrap

        public void setUnwrap​(short unwrap)
                       throws java.io.IOException
        Set method for struct member 'unwrap'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__unwrap
      • __io__addressof

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