Class BakeData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__im_format);
         CPointer<ImageFormatData> p_im_format = p.cast(new Class[]{ImageFormatData.class});
         

        Metadata

        • Field: 'im_format'
        • Signature: 'ImageFormatData'
        • Actual Size (32bit/64bit): 248/256
      • __DNA__FIELD__filepath

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

        Field Documentation

        Blender Source Code

        FILE_MAX.

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__filepath);
         CPointer<CArrayFacade<Byte>> p_filepath = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'filepath'
        • Signature: 'char[1024]'
        • Actual Size (32bit/64bit): 1024/1024
      • __DNA__FIELD__width

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__width);
         CPointer<Short> p_width = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'width'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__height

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__height);
         CPointer<Short> p_height = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'height'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__margin

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__margin);
         CPointer<Short> p_margin = p.cast(new Class[]{Short.class});
         

        Metadata

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__cage_extrusion

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__cage_extrusion);
         CPointer<Float> p_cage_extrusion = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cage_extrusion'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pass_filter

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__pass_filter);
         CPointer<Integer> p_pass_filter = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pass_filter'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__normal_swizzle

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__normal_swizzle);
         CPointer<CArrayFacade<Byte>> p_normal_swizzle = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'normal_swizzle'
        • Signature: 'char[3]'
        • Actual Size (32bit/64bit): 3/3
      • __DNA__FIELD__normal_space

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__normal_space);
         CPointer<Byte> p_normal_space = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'normal_space'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__save_mode

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__save_mode);
         CPointer<Byte> p_save_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'save_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

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

        Metadata

        • Field: '_pad'
        • Signature: 'char[3]'
        • Actual Size (32bit/64bit): 3/3
      • __DNA__FIELD__cage_object

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

        Pointer Arithmetics

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

         BakeData bakedata = ...;
         CPointer<Object> p = bakedata.__dna__addressof(BakeData.__DNA__FIELD__cage_object);
         CPointer<CPointer<BlenderObject>> p_cage_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

      • BakeData

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

        protected BakeData​(BakeData that)
    • Method Detail

      • setIm_format

        public void setIm_format​(ImageFormatData im_format)
                          throws java.io.IOException
        Set method for struct member 'im_format'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__im_format
      • getFilepath

        public CArrayFacade<java.lang.Byte> getFilepath()
                                                 throws java.io.IOException
        Get method for struct member 'filepath'.

        Field Documentation

        Blender Source Code

        FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filepath
      • setFilepath

        public void setFilepath​(CArrayFacade<java.lang.Byte> filepath)
                         throws java.io.IOException
        Set method for struct member 'filepath'.

        Field Documentation

        Blender Source Code

        FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filepath
      • getWidth

        public short getWidth()
                       throws java.io.IOException
        Get method for struct member 'width'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__width
      • setWidth

        public void setWidth​(short width)
                      throws java.io.IOException
        Set method for struct member 'width'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__width
      • getHeight

        public short getHeight()
                        throws java.io.IOException
        Get method for struct member 'height'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__height
      • setHeight

        public void setHeight​(short height)
                       throws java.io.IOException
        Set method for struct member 'height'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__height
      • getMargin

        public short getMargin()
                        throws java.io.IOException
        Get method for struct member 'margin'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__margin
      • setMargin

        public void setMargin​(short margin)
                       throws java.io.IOException
        Set method for struct member 'margin'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__margin
      • getFlag

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

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

        public float getCage_extrusion()
                                throws java.io.IOException
        Get method for struct member 'cage_extrusion'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cage_extrusion
      • setCage_extrusion

        public void setCage_extrusion​(float cage_extrusion)
                               throws java.io.IOException
        Set method for struct member 'cage_extrusion'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cage_extrusion
      • getPass_filter

        public int getPass_filter()
                           throws java.io.IOException
        Get method for struct member 'pass_filter'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pass_filter
      • setPass_filter

        public void setPass_filter​(int pass_filter)
                            throws java.io.IOException
        Set method for struct member 'pass_filter'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pass_filter
      • getNormal_swizzle

        public CArrayFacade<java.lang.Byte> getNormal_swizzle()
                                                       throws java.io.IOException
        Get method for struct member 'normal_swizzle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_swizzle
      • setNormal_swizzle

        public void setNormal_swizzle​(CArrayFacade<java.lang.Byte> normal_swizzle)
                               throws java.io.IOException
        Set method for struct member 'normal_swizzle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_swizzle
      • getNormal_space

        public byte getNormal_space()
                             throws java.io.IOException
        Get method for struct member 'normal_space'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_space
      • setNormal_space

        public void setNormal_space​(byte normal_space)
                             throws java.io.IOException
        Set method for struct member 'normal_space'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_space
      • getSave_mode

        public byte getSave_mode()
                          throws java.io.IOException
        Get method for struct member 'save_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__save_mode
      • setSave_mode

        public void setSave_mode​(byte save_mode)
                          throws java.io.IOException
        Set method for struct member 'save_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__save_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<BakeData> __io__addressof()
        Instantiates a pointer on this instance.