Class LightProbeCache
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.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 Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad3
Field descriptor (offset) for struct member '_pad3'.static long[]
__DNA__FIELD__attenuation_fac
Field descriptor (offset) for struct member 'attenuation_fac'.static long[]
__DNA__FIELD__attenuation_type
Field descriptor (offset) for struct member 'attenuation_type'.static long[]
__DNA__FIELD__attenuationmat
Field descriptor (offset) for struct member 'attenuationmat'.static long[]
__DNA__FIELD__parallax_type
Field descriptor (offset) for struct member 'parallax_type'.static long[]
__DNA__FIELD__parallaxmat
Field descriptor (offset) for struct member 'parallaxmat'.static long[]
__DNA__FIELD__position
Field descriptor (offset) for struct member 'position'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct LightProbeCache.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description LightProbeCache(long __address, Block __block, BlockTable __blockTable)
protected
LightProbeCache(LightProbeCache that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<LightProbeCache>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Float>
get_pad3()
Get method for struct member '_pad3'.float
getAttenuation_fac()
Get method for struct member 'attenuation_fac'.float
getAttenuation_type()
Get method for struct member 'attenuation_type'.CArrayFacade<CArrayFacade<java.lang.Float>>
getAttenuationmat()
Get method for struct member 'attenuationmat'.float
getParallax_type()
Get method for struct member 'parallax_type'.CArrayFacade<CArrayFacade<java.lang.Float>>
getParallaxmat()
Get method for struct member 'parallaxmat'.CArrayFacade<java.lang.Float>
getPosition()
Get method for struct member 'position'.void
set_pad3(CArrayFacade<java.lang.Float> _pad3)
Set method for struct member '_pad3'.void
setAttenuation_fac(float attenuation_fac)
Set method for struct member 'attenuation_fac'.void
setAttenuation_type(float attenuation_type)
Set method for struct member 'attenuation_type'.void
setAttenuationmat(CArrayFacade<CArrayFacade<java.lang.Float>> attenuationmat)
Set method for struct member 'attenuationmat'.void
setParallax_type(float parallax_type)
Set method for struct member 'parallax_type'.void
setParallaxmat(CArrayFacade<CArrayFacade<java.lang.Float>> parallaxmat)
Set method for struct member 'parallaxmat'.void
setPosition(CArrayFacade<java.lang.Float> position)
Set method for struct member 'position'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
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)
-
LightProbeCache
protected LightProbeCache(LightProbeCache that)
-
-
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
-
getAttenuationmat
public CArrayFacade<CArrayFacade<java.lang.Float>> getAttenuationmat() throws java.io.IOException
Get method for struct member 'attenuationmat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attenuationmat
-
setAttenuationmat
public void setAttenuationmat(CArrayFacade<CArrayFacade<java.lang.Float>> attenuationmat) throws java.io.IOException
Set method for struct member 'attenuationmat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attenuationmat
-
getParallaxmat
public CArrayFacade<CArrayFacade<java.lang.Float>> getParallaxmat() throws java.io.IOException
Get method for struct member 'parallaxmat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parallaxmat
-
setParallaxmat
public void setParallaxmat(CArrayFacade<CArrayFacade<java.lang.Float>> parallaxmat) throws java.io.IOException
Set method for struct member 'parallaxmat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parallaxmat
-
__io__addressof
public CPointer<LightProbeCache> __io__addressof()
Instantiates a pointer on this instance.
-
-