Class PixelShaderFxData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         PixelShaderFxData pixelshaderfxdata = ...;
         CPointer<Object> p = pixelshaderfxdata.__dna__addressof(PixelShaderFxData.__DNA__FIELD__shaderfx);
         CPointer<ShaderFxData> p_shaderfx = p.cast(new Class[]{ShaderFxData.class});
         

        Metadata

        • Field: 'shaderfx'
        • Signature: 'ShaderFxData'
        • Actual Size (32bit/64bit): 92/104
      • __DNA__FIELD__size

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

        Field Documentation

        Blender Source Code

        Last element used for shader only.

        Pointer Arithmetics

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

         PixelShaderFxData pixelshaderfxdata = ...;
         CPointer<Object> p = pixelshaderfxdata.__dna__addressof(PixelShaderFxData.__DNA__FIELD__size);
         CPointer<CArrayFacade<Integer>> p_size = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

        • Field: 'size'
        • Signature: 'int[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Flags.

        Pointer Arithmetics

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

         PixelShaderFxData pixelshaderfxdata = ...;
         CPointer<Object> p = pixelshaderfxdata.__dna__addressof(PixelShaderFxData.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rgba

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

        Pointer Arithmetics

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

         PixelShaderFxData pixelshaderfxdata = ...;
         CPointer<Object> p = pixelshaderfxdata.__dna__addressof(PixelShaderFxData.__DNA__FIELD__rgba);
         CPointer<CArrayFacade<Float>> p_rgba = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'rgba'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__runtime

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

        Pointer Arithmetics

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

         PixelShaderFxData pixelshaderfxdata = ...;
         CPointer<Object> p = pixelshaderfxdata.__dna__addressof(PixelShaderFxData.__DNA__FIELD__runtime);
         CPointer<ShaderFxData_Runtime> p_runtime = p.cast(new Class[]{ShaderFxData_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'ShaderFxData_Runtime'
        • Actual Size (32bit/64bit): 28/40
    • Constructor Detail

      • PixelShaderFxData

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

      • getShaderfx

        public ShaderFxData getShaderfx()
                                 throws java.io.IOException
        Get method for struct member 'shaderfx'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shaderfx
      • setShaderfx

        public void setShaderfx​(ShaderFxData shaderfx)
                         throws java.io.IOException
        Set method for struct member 'shaderfx'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shaderfx
      • getSize

        public CArrayFacade<java.lang.Integer> getSize()
                                                throws java.io.IOException
        Get method for struct member 'size'.

        Field Documentation

        Blender Source Code

        Last element used for shader only.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • setSize

        public void setSize​(CArrayFacade<java.lang.Integer> size)
                     throws java.io.IOException
        Set method for struct member 'size'.

        Field Documentation

        Blender Source Code

        Last element used for shader only.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Flags.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

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

        Field Documentation

        Blender Source Code

        Flags.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getRgba

        public CArrayFacade<java.lang.Float> getRgba()
                                              throws java.io.IOException
        Get method for struct member 'rgba'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rgba
      • setRgba

        public void setRgba​(CArrayFacade<java.lang.Float> rgba)
                     throws java.io.IOException
        Set method for struct member 'rgba'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rgba