Class Volume_Runtime


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        OpenVDB Grids

        Pointer Arithmetics

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

         Volume_Runtime volume_runtime = ...;
         CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD__grids);
         CPointer<CPointer<Object>> p_grids = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'grids'
        • Signature: 'VolumeGridVector*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__frame

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

        Field Documentation

        Blender Source Code

        Current frame in sequence for evaluated volume

        Pointer Arithmetics

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

         Volume_Runtime volume_runtime = ...;
         CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD__frame);
         CPointer<Integer> p_frame = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'frame'
        • 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:

         Volume_Runtime volume_runtime = ...;
         CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD___pad);
         CPointer<Integer> p__pad = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • Volume_Runtime

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

      • getGrids

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

        Field Documentation

        Blender Source Code

        OpenVDB Grids

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grids
      • setGrids

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

        Field Documentation

        Blender Source Code

        OpenVDB Grids

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__grids
      • getFrame

        public int getFrame()
                     throws java.io.IOException
        Get method for struct member 'frame'.

        Field Documentation

        Blender Source Code

        Current frame in sequence for evaluated volume

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame
      • setFrame

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

        Field Documentation

        Blender Source Code

        Current frame in sequence for evaluated volume

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame
      • get_pad

        public int 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​(int _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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