Class Library_Runtime


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Used for efficient calculations of unique names.

        Pointer Arithmetics

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

         Library_Runtime library_runtime = ...;
         CPointer<Object> p = library_runtime.__dna__addressof(Library_Runtime.__DNA__FIELD__name_map);
         CPointer<CPointer<Object>> p_name_map = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

      • Library_Runtime

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

      • getName_map

        public CPointer<java.lang.Object> getName_map()
                                               throws java.io.IOException
        Get method for struct member 'name_map'.

        Field Documentation

        Blender Source Code

        Used for efficient calculations of unique names.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name_map
      • setName_map

        public void setName_map​(CPointer<java.lang.Object> name_map)
                         throws java.io.IOException
        Set method for struct member 'name_map'.

        Field Documentation

        Blender Source Code

        Used for efficient calculations of unique names.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name_map