Class bGPDlayer_Runtime


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

    Class Documentation

    Blender Source Code

    Runtime temp data for bGPDlayer

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Id for dynamic icon used to show annotation color preview for layer.

        Pointer Arithmetics

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

         bGPDlayer_Runtime bgpdlayer_runtime = ...;
         CPointer<Object> p = bgpdlayer_runtime.__dna__addressof(bGPDlayer_Runtime.__DNA__FIELD__icon_id);
         CPointer<Integer> p_icon_id = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'icon_id'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         bGPDlayer_Runtime bgpdlayer_runtime = ...;
         CPointer<Object> p = bgpdlayer_runtime.__dna__addressof(bGPDlayer_Runtime.__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
      • __DNA__FIELD__gpl_orig

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

        Field Documentation

        Blender Source Code

        Original layer (used to dereference evaluated data)

        Pointer Arithmetics

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

         bGPDlayer_Runtime bgpdlayer_runtime = ...;
         CPointer<Object> p = bgpdlayer_runtime.__dna__addressof(bGPDlayer_Runtime.__DNA__FIELD__gpl_orig);
         CPointer<CPointer<bGPDlayer>> p_gpl_orig = p.cast(new Class[]{CPointer.class, bGPDlayer.class});
         

        Metadata

        • Field: 'gpl_orig'
        • Signature: 'bGPDlayer*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • bGPDlayer_Runtime

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

      • getIcon_id

        public int getIcon_id()
                       throws java.io.IOException
        Get method for struct member 'icon_id'.

        Field Documentation

        Blender Source Code

        Id for dynamic icon used to show annotation color preview for layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_id
      • setIcon_id

        public void setIcon_id​(int icon_id)
                        throws java.io.IOException
        Set method for struct member 'icon_id'.

        Field Documentation

        Blender Source Code

        Id for dynamic icon used to show annotation color preview for layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__icon_id
      • 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
      • getGpl_orig

        public CPointer<bGPDlayer> getGpl_orig()
                                        throws java.io.IOException
        Get method for struct member 'gpl_orig'.

        Field Documentation

        Blender Source Code

        Original layer (used to dereference evaluated data)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpl_orig
      • setGpl_orig

        public void setGpl_orig​(CPointer<bGPDlayer> gpl_orig)
                         throws java.io.IOException
        Set method for struct member 'gpl_orig'.

        Field Documentation

        Blender Source Code

        Original layer (used to dereference evaluated data)

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpl_orig