public class LightCacheTexture extends CFacade
These are used as ubo data. They need to be aligned to size of vec4. ---
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
LightCacheTexture(LightCacheTexture that) |
|
LightCacheTexture(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and 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'.
|
byte |
getData_type()
Get method for struct member 'data_type'.
|
CPointer<java.lang.Byte> |
getData()
Get method for struct member 'data'.
|
CArrayFacade<java.lang.Integer> |
getTex_size()
Get method for struct member 'tex_size'.
|
CPointer<java.lang.Object> |
getTex()
Get method for struct member 'tex'.
|
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_type(byte data_type)
Set method for struct member 'data_type'.
|
void |
setData(CPointer<java.lang.Byte> data)
Set method for struct member 'data'.
|
void |
setTex_size(CArrayFacade<java.lang.Integer> tex_size)
Set method for struct member 'tex_size'.
|
void |
setTex(CPointer<java.lang.Object> tex)
Set method for struct member 'tex'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for LightCacheTexture.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__tex
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});
public static final long[] __DNA__FIELD__data
Copy of GPU datas to create GPUTextures on file read.
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});
public static final long[] __DNA__FIELD__tex_size
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});
public static final long[] __DNA__FIELD__data_type
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});
public static final long[] __DNA__FIELD__components
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});
public static final long[] __DNA__FIELD___pad
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});
public LightCacheTexture(long __address, Block __block, BlockTable __blockTable)
protected LightCacheTexture(LightCacheTexture that)
public CPointer<java.lang.Object> getTex() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tex
public void setTex(CPointer<java.lang.Object> tex) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tex
public CPointer<java.lang.Byte> getData() throws java.io.IOException
Copy of GPU datas to create GPUTextures on file read.
java.io.IOException
__DNA__FIELD__data
public void setData(CPointer<java.lang.Byte> data) throws java.io.IOException
Copy of GPU datas to create GPUTextures on file read.
java.io.IOException
__DNA__FIELD__data
public CArrayFacade<java.lang.Integer> getTex_size() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tex_size
public void setTex_size(CArrayFacade<java.lang.Integer> tex_size) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tex_size
public byte getData_type() throws java.io.IOException
java.io.IOException
__DNA__FIELD__data_type
public void setData_type(byte data_type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__data_type
public byte getComponents() throws java.io.IOException
java.io.IOException
__DNA__FIELD__components
public void setComponents(byte components) throws java.io.IOException
java.io.IOException
__DNA__FIELD__components
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public CPointer<LightCacheTexture> __io__addressof()