Class LightGridCache


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

    Class Documentation

    Blender Source Code

    Must match GridData.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__mat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_mat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'mat'
        • Signature: 'float[4][4]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__resolution

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

        Field Documentation

        Blender Source Code

        Offset to the first irradiance sample in the pool.

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__resolution);
         CPointer<CArrayFacade<Integer>> p_resolution = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__offset);
         CPointer<Integer> p_offset = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'offset'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__corner

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__corner);
         CPointer<CArrayFacade<Float>> p_corner = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'corner'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__attenuation_scale

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__attenuation_scale);
         CPointer<Float> p_attenuation_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'attenuation_scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__increment_x

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

        Field Documentation

        Blender Source Code

        World space vector between 2 opposite cells.

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__increment_x);
         CPointer<CArrayFacade<Float>> p_increment_x = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'increment_x'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__attenuation_bias

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__attenuation_bias);
         CPointer<Float> p_attenuation_bias = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'attenuation_bias'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__increment_y

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__increment_y);
         CPointer<CArrayFacade<Float>> p_increment_y = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'increment_y'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__level_bias

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__level_bias);
         CPointer<Float> p_level_bias = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'level_bias'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__increment_z

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__increment_z);
         CPointer<CArrayFacade<Float>> p_increment_z = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'increment_z'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD___pad4

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD___pad4);
         CPointer<Float> p__pad4 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: '_pad4'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__visibility_bias

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__visibility_bias);
         CPointer<Float> p_visibility_bias = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'visibility_bias'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__visibility_bleed

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__visibility_bleed);
         CPointer<Float> p_visibility_bleed = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'visibility_bleed'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__visibility_range

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD__visibility_range);
         CPointer<Float> p_visibility_range = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'visibility_range'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad5

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

        Pointer Arithmetics

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

         LightGridCache lightgridcache = ...;
         CPointer<Object> p = lightgridcache.__dna__addressof(LightGridCache.__DNA__FIELD___pad5);
         CPointer<Float> p__pad5 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: '_pad5'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • LightGridCache

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

      • getResolution

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

        Field Documentation

        Blender Source Code

        Offset to the first irradiance sample in the pool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__resolution
      • setResolution

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

        Field Documentation

        Blender Source Code

        Offset to the first irradiance sample in the pool.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__resolution
      • getOffset

        public int getOffset()
                      throws java.io.IOException
        Get method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • setOffset

        public void setOffset​(int offset)
                       throws java.io.IOException
        Set method for struct member 'offset'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__offset
      • getCorner

        public CArrayFacade<java.lang.Float> getCorner()
                                                throws java.io.IOException
        Get method for struct member 'corner'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__corner
      • setCorner

        public void setCorner​(CArrayFacade<java.lang.Float> corner)
                       throws java.io.IOException
        Set method for struct member 'corner'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__corner
      • getAttenuation_scale

        public float getAttenuation_scale()
                                   throws java.io.IOException
        Get method for struct member 'attenuation_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attenuation_scale
      • setAttenuation_scale

        public void setAttenuation_scale​(float attenuation_scale)
                                  throws java.io.IOException
        Set method for struct member 'attenuation_scale'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attenuation_scale
      • getIncrement_x

        public CArrayFacade<java.lang.Float> getIncrement_x()
                                                     throws java.io.IOException
        Get method for struct member 'increment_x'.

        Field Documentation

        Blender Source Code

        World space vector between 2 opposite cells.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__increment_x
      • setIncrement_x

        public void setIncrement_x​(CArrayFacade<java.lang.Float> increment_x)
                            throws java.io.IOException
        Set method for struct member 'increment_x'.

        Field Documentation

        Blender Source Code

        World space vector between 2 opposite cells.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__increment_x
      • getAttenuation_bias

        public float getAttenuation_bias()
                                  throws java.io.IOException
        Get method for struct member 'attenuation_bias'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attenuation_bias
      • setAttenuation_bias

        public void setAttenuation_bias​(float attenuation_bias)
                                 throws java.io.IOException
        Set method for struct member 'attenuation_bias'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attenuation_bias
      • getIncrement_y

        public CArrayFacade<java.lang.Float> getIncrement_y()
                                                     throws java.io.IOException
        Get method for struct member 'increment_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__increment_y
      • setIncrement_y

        public void setIncrement_y​(CArrayFacade<java.lang.Float> increment_y)
                            throws java.io.IOException
        Set method for struct member 'increment_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__increment_y
      • getLevel_bias

        public float getLevel_bias()
                            throws java.io.IOException
        Get method for struct member 'level_bias'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__level_bias
      • setLevel_bias

        public void setLevel_bias​(float level_bias)
                           throws java.io.IOException
        Set method for struct member 'level_bias'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__level_bias
      • getIncrement_z

        public CArrayFacade<java.lang.Float> getIncrement_z()
                                                     throws java.io.IOException
        Get method for struct member 'increment_z'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__increment_z
      • setIncrement_z

        public void setIncrement_z​(CArrayFacade<java.lang.Float> increment_z)
                            throws java.io.IOException
        Set method for struct member 'increment_z'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__increment_z
      • get_pad4

        public float get_pad4()
                       throws java.io.IOException
        Get method for struct member '_pad4'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad4
      • set_pad4

        public void set_pad4​(float _pad4)
                      throws java.io.IOException
        Set method for struct member '_pad4'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad4
      • getVisibility_bias

        public float getVisibility_bias()
                                 throws java.io.IOException
        Get method for struct member 'visibility_bias'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__visibility_bias
      • setVisibility_bias

        public void setVisibility_bias​(float visibility_bias)
                                throws java.io.IOException
        Set method for struct member 'visibility_bias'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__visibility_bias
      • getVisibility_bleed

        public float getVisibility_bleed()
                                  throws java.io.IOException
        Get method for struct member 'visibility_bleed'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__visibility_bleed
      • setVisibility_bleed

        public void setVisibility_bleed​(float visibility_bleed)
                                 throws java.io.IOException
        Set method for struct member 'visibility_bleed'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__visibility_bleed
      • getVisibility_range

        public float getVisibility_range()
                                  throws java.io.IOException
        Get method for struct member 'visibility_range'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__visibility_range
      • setVisibility_range

        public void setVisibility_range​(float visibility_range)
                                 throws java.io.IOException
        Set method for struct member 'visibility_range'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__visibility_range
      • get_pad5

        public float get_pad5()
                       throws java.io.IOException
        Get method for struct member '_pad5'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad5
      • set_pad5

        public void set_pad5​(float _pad5)
                      throws java.io.IOException
        Set method for struct member '_pad5'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad5
      • __io__addressof

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