Class LightProbeCache


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

    Class Documentation

    Blender Source Code

    ---- Eevee LightProbes ---- Needs to be there because written to file with the light-cache. IMPORTANT Padding in these structs is essential. It must match GLSL struct definition in lightprobe_lib.glsl. Must match CubeData.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         LightProbeCache lightprobecache = ...;
         CPointer<Object> p = lightprobecache.__dna__addressof(LightProbeCache.__DNA__FIELD__position);
         CPointer<CArrayFacade<Float>> p_position = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         LightProbeCache lightprobecache = ...;
         CPointer<Object> p = lightprobecache.__dna__addressof(LightProbeCache.__DNA__FIELD__parallax_type);
         CPointer<Float> p_parallax_type = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'parallax_type'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__attenuation_fac

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

        Pointer Arithmetics

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

         LightProbeCache lightprobecache = ...;
         CPointer<Object> p = lightprobecache.__dna__addressof(LightProbeCache.__DNA__FIELD__attenuation_fac);
         CPointer<Float> p_attenuation_fac = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'attenuation_fac'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__attenuation_type

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

        Pointer Arithmetics

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

         LightProbeCache lightprobecache = ...;
         CPointer<Object> p = lightprobecache.__dna__addressof(LightProbeCache.__DNA__FIELD__attenuation_type);
         CPointer<Float> p_attenuation_type = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'attenuation_type'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad3

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

        Pointer Arithmetics

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

         LightProbeCache lightprobecache = ...;
         CPointer<Object> p = lightprobecache.__dna__addressof(LightProbeCache.__DNA__FIELD___pad3);
         CPointer<CArrayFacade<Float>> p__pad3 = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: '_pad3'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__attenuationmat

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

        Pointer Arithmetics

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

         LightProbeCache lightprobecache = ...;
         CPointer<Object> p = lightprobecache.__dna__addressof(LightProbeCache.__DNA__FIELD__attenuationmat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_attenuationmat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         LightProbeCache lightprobecache = ...;
         CPointer<Object> p = lightprobecache.__dna__addressof(LightProbeCache.__DNA__FIELD__parallaxmat);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_parallaxmat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

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

      • LightProbeCache

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

      • getPosition

        public CArrayFacade<java.lang.Float> getPosition()
                                                  throws java.io.IOException
        Get method for struct member 'position'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__position
      • setPosition

        public void setPosition​(CArrayFacade<java.lang.Float> position)
                         throws java.io.IOException
        Set method for struct member 'position'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__position
      • getParallax_type

        public float getParallax_type()
                               throws java.io.IOException
        Get method for struct member 'parallax_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parallax_type
      • setParallax_type

        public void setParallax_type​(float parallax_type)
                              throws java.io.IOException
        Set method for struct member 'parallax_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parallax_type
      • getAttenuation_fac

        public float getAttenuation_fac()
                                 throws java.io.IOException
        Get method for struct member 'attenuation_fac'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attenuation_fac
      • setAttenuation_fac

        public void setAttenuation_fac​(float attenuation_fac)
                                throws java.io.IOException
        Set method for struct member 'attenuation_fac'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attenuation_fac
      • getAttenuation_type

        public float getAttenuation_type()
                                  throws java.io.IOException
        Get method for struct member 'attenuation_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attenuation_type
      • setAttenuation_type

        public void setAttenuation_type​(float attenuation_type)
                                 throws java.io.IOException
        Set method for struct member 'attenuation_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__attenuation_type
      • get_pad3

        public CArrayFacade<java.lang.Float> get_pad3()
                                               throws java.io.IOException
        Get method for struct member '_pad3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad3
      • set_pad3

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