Class ShaderFxData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__DNA__FIELD__next);
         CPointer<CPointer<ShaderFxData>> p_next = p.cast(new Class[]{CPointer.class, ShaderFxData.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'ShaderFxData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__DNA__FIELD__prev);
         CPointer<CPointer<ShaderFxData>> p_prev = p.cast(new Class[]{CPointer.class, ShaderFxData.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'ShaderFxData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__type

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

        Pointer Arithmetics

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

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__DNA__FIELD__type);
         CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mode

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

        Pointer Arithmetics

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

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__DNA__FIELD__mode);
         CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__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__ui_expand_flag

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

        Field Documentation

        Blender Source Code

        An "expand" bit for each of the constraint's (sub)panels (uiPanelDataExpansion).

        Pointer Arithmetics

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

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__DNA__FIELD__ui_expand_flag);
         CPointer<Short> p_ui_expand_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'ui_expand_flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__name

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Pointer Arithmetics

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

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__error

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

        Pointer Arithmetics

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

         ShaderFxData shaderfxdata = ...;
         CPointer<Object> p = shaderfxdata.__dna__addressof(ShaderFxData.__DNA__FIELD__error);
         CPointer<CPointer<Byte>> p_error = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

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

      • ShaderFxData

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

        protected ShaderFxData​(ShaderFxData that)
    • Method Detail

      • getType

        public int getType()
                    throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(int type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getMode

        public int getMode()
                    throws java.io.IOException
        Get method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

        public void setMode​(int mode)
                     throws java.io.IOException
        Set method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • 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
      • getUi_expand_flag

        public short getUi_expand_flag()
                                throws java.io.IOException
        Get method for struct member 'ui_expand_flag'.

        Field Documentation

        Blender Source Code

        An "expand" bit for each of the constraint's (sub)panels (uiPanelDataExpansion).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ui_expand_flag
      • setUi_expand_flag

        public void setUi_expand_flag​(short ui_expand_flag)
                               throws java.io.IOException
        Set method for struct member 'ui_expand_flag'.

        Field Documentation

        Blender Source Code

        An "expand" bit for each of the constraint's (sub)panels (uiPanelDataExpansion).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ui_expand_flag
      • getName

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

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

        Field Documentation

        Blender Source Code

        MAX_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getError

        public CPointer<java.lang.Byte> getError()
                                          throws java.io.IOException
        Get method for struct member 'error'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__error
      • setError

        public void setError​(CPointer<java.lang.Byte> error)
                      throws java.io.IOException
        Set method for struct member 'error'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__error
      • __io__addressof

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