Class LightCacheTexture
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.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 Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__components
Field descriptor (offset) for struct member 'components'.static long[]
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.static long[]
__DNA__FIELD__data_type
Field descriptor (offset) for struct member 'data_type'.static long[]
__DNA__FIELD__tex
Field descriptor (offset) for struct member 'tex'.static long[]
__DNA__FIELD__tex_size
Field descriptor (offset) for struct member 'tex_size'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct LightCacheTexture.-
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 LightCacheTexture(long __address, Block __block, BlockTable __blockTable)
protected
LightCacheTexture(LightCacheTexture that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<LightCacheTexture>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.byte
getComponents()
Get method for struct member 'components'.CPointer<java.lang.Byte>
getData()
Get method for struct member 'data'.byte
getData_type()
Get method for struct member 'data_type'.CPointer<java.lang.Object>
getTex()
Get method for struct member 'tex'.CArrayFacade<java.lang.Integer>
getTex_size()
Get method for struct member 'tex_size'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setComponents(byte components)
Set method for struct member 'components'.void
setData(CPointer<java.lang.Byte> data)
Set method for struct member 'data'.void
setData_type(byte data_type)
Set method for struct member 'data_type'.void
setTex(CPointer<java.lang.Object> tex)
Set method for struct member 'tex'.void
setTex_size(CArrayFacade<java.lang.Integer> tex_size)
Set method for struct member 'tex_size'.-
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 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 data 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)
-
LightCacheTexture
protected LightCacheTexture(LightCacheTexture that)
-
-
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 data 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 data 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
-
__io__addressof
public CPointer<LightCacheTexture> __io__addressof()
Instantiates a pointer on this instance.
-
-