Class Paint_Runtime


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Avoid having to compare with scene pointer everywhere.

        Pointer Arithmetics

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

         Paint_Runtime paint_runtime = ...;
         CPointer<Object> p = paint_runtime.__dna__addressof(Paint_Runtime.__DNA__FIELD__tool_offset);
         CPointer<Integer> p_tool_offset = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'tool_offset'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ob_mode

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

        Pointer Arithmetics

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

         Paint_Runtime paint_runtime = ...;
         CPointer<Object> p = paint_runtime.__dna__addressof(Paint_Runtime.__DNA__FIELD__ob_mode);
         CPointer<Short> p_ob_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'ob_mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

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

        Metadata

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

      • Paint_Runtime

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

      • getTool_offset

        public int getTool_offset()
                           throws java.io.IOException
        Get method for struct member 'tool_offset'.

        Field Documentation

        Blender Source Code

        Avoid having to compare with scene pointer everywhere.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tool_offset
      • setTool_offset

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

        Field Documentation

        Blender Source Code

        Avoid having to compare with scene pointer everywhere.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tool_offset
      • getOb_mode

        public short getOb_mode()
                         throws java.io.IOException
        Get method for struct member 'ob_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ob_mode
      • setOb_mode

        public void setOb_mode​(short ob_mode)
                        throws java.io.IOException
        Set method for struct member 'ob_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ob_mode
      • 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<Paint_Runtime> __io__addressof()
        Instantiates a pointer on this instance.