Class LightCacheTexture


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

    Class Documentation

    Blender Source Code

    These are used as ubo data. They need to be aligned to size of vec4. --- Eevee Lightcache ----

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         LightCacheTexture lightcachetexture = ...;
         CPointer<Object> p = lightcachetexture.__dna__addressof(LightCacheTexture.__DNA__FIELD__tex);
         CPointer<CPointer<Object>> p_tex = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'tex'
        • Signature: 'GPUTexture*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__data

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

        Field Documentation

        Blender Source Code

        Copy of GPU datas to create GPUTextures on file read.

        Pointer Arithmetics

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

         LightCacheTexture lightcachetexture = ...;
         CPointer<Object> p = lightcachetexture.__dna__addressof(LightCacheTexture.__DNA__FIELD__data);
         CPointer<CPointer<Byte>> p_data = p.cast(new Class[]{CPointer.class, Byte.class});
         

        Metadata

        • Field: 'data'
        • Signature: 'char*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__tex_size

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

        Pointer Arithmetics

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

         LightCacheTexture lightcachetexture = ...;
         CPointer<Object> p = lightcachetexture.__dna__addressof(LightCacheTexture.__DNA__FIELD__tex_size);
         CPointer<CArrayFacade<Integer>> p_tex_size = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         LightCacheTexture lightcachetexture = ...;
         CPointer<Object> p = lightcachetexture.__dna__addressof(LightCacheTexture.__DNA__FIELD__data_type);
         CPointer<Byte> p_data_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'data_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__components

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

        Pointer Arithmetics

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

         LightCacheTexture lightcachetexture = ...;
         CPointer<Object> p = lightcachetexture.__dna__addressof(LightCacheTexture.__DNA__FIELD__components);
         CPointer<Byte> p_components = p.cast(new Class[]{Byte.class});
         

        Metadata

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

         LightCacheTexture lightcachetexture = ...;
         CPointer<Object> p = lightcachetexture.__dna__addressof(LightCacheTexture.__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

      • LightCacheTexture

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

      • getTex

        public CPointer<java.lang.Object> getTex()
                                          throws java.io.IOException
        Get method for struct member 'tex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tex
      • setTex

        public void setTex​(CPointer<java.lang.Object> tex)
                    throws java.io.IOException
        Set method for struct member 'tex'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tex
      • getData

        public CPointer<java.lang.Byte> getData()
                                         throws java.io.IOException
        Get method for struct member 'data'.

        Field Documentation

        Blender Source Code

        Copy of GPU datas to create GPUTextures on file read.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • setData

        public void setData​(CPointer<java.lang.Byte> data)
                     throws java.io.IOException
        Set method for struct member 'data'.

        Field Documentation

        Blender Source Code

        Copy of GPU datas to create GPUTextures on file read.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • getTex_size

        public CArrayFacade<java.lang.Integer> getTex_size()
                                                    throws java.io.IOException
        Get method for struct member 'tex_size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tex_size
      • setTex_size

        public void setTex_size​(CArrayFacade<java.lang.Integer> tex_size)
                         throws java.io.IOException
        Set method for struct member 'tex_size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tex_size
      • getData_type

        public byte getData_type()
                          throws java.io.IOException
        Get method for struct member 'data_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type
      • setData_type

        public void setData_type​(byte data_type)
                          throws java.io.IOException
        Set method for struct member 'data_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type
      • getComponents

        public byte getComponents()
                           throws java.io.IOException
        Get method for struct member 'components'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__components
      • setComponents

        public void setComponents​(byte components)
                           throws java.io.IOException
        Set method for struct member 'components'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__components
      • 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