public class LightCache extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__cube_data
Field descriptor (offset) for struct member 'cube_data'.
|
static long[] |
__DNA__FIELD__cube_len
Field descriptor (offset) for struct member 'cube_len'.
|
static long[] |
__DNA__FIELD__cube_mips
Field descriptor (offset) for struct member 'cube_mips'.
|
static long[] |
__DNA__FIELD__cube_tx
Field descriptor (offset) for struct member 'cube_tx'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__grid_data
Field descriptor (offset) for struct member 'grid_data'.
|
static long[] |
__DNA__FIELD__grid_len
Field descriptor (offset) for struct member 'grid_len'.
|
static long[] |
__DNA__FIELD__grid_tx
Field descriptor (offset) for struct member 'grid_tx'.
|
static long[] |
__DNA__FIELD__mips_len
Field descriptor (offset) for struct member 'mips_len'.
|
static long[] |
__DNA__FIELD__ref_res
Field descriptor (offset) for struct member 'ref_res'.
|
static long[] |
__DNA__FIELD__vis_res
Field descriptor (offset) for struct member 'vis_res'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct LightCache.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
LightCache(LightCache that) |
|
LightCache(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<LightCache> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<CArrayFacade<java.lang.Byte>> |
get_pad()
Get method for struct member '_pad'.
|
CPointer<LightProbeCache> |
getCube_data()
Get method for struct member 'cube_data'.
|
int |
getCube_len()
Get method for struct member 'cube_len'.
|
CPointer<LightCacheTexture> |
getCube_mips()
Get method for struct member 'cube_mips'.
|
LightCacheTexture |
getCube_tx()
Get method for struct member 'cube_tx'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CPointer<LightGridCache> |
getGrid_data()
Get method for struct member 'grid_data'.
|
int |
getGrid_len()
Get method for struct member 'grid_len'.
|
LightCacheTexture |
getGrid_tx()
Get method for struct member 'grid_tx'.
|
int |
getMips_len()
Get method for struct member 'mips_len'.
|
int |
getRef_res()
Get method for struct member 'ref_res'.
|
int |
getVis_res()
Get method for struct member 'vis_res'.
|
void |
set_pad(CArrayFacade<CArrayFacade<java.lang.Byte>> _pad)
Set method for struct member '_pad'.
|
void |
setCube_data(CPointer<LightProbeCache> cube_data)
Set method for struct member 'cube_data'.
|
void |
setCube_len(int cube_len)
Set method for struct member 'cube_len'.
|
void |
setCube_mips(CPointer<LightCacheTexture> cube_mips)
Set method for struct member 'cube_mips'.
|
void |
setCube_tx(LightCacheTexture cube_tx)
Set method for struct member 'cube_tx'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setGrid_data(CPointer<LightGridCache> grid_data)
Set method for struct member 'grid_data'.
|
void |
setGrid_len(int grid_len)
Set method for struct member 'grid_len'.
|
void |
setGrid_tx(LightCacheTexture grid_tx)
Set method for struct member 'grid_tx'.
|
void |
setMips_len(int mips_len)
Set method for struct member 'mips_len'.
|
void |
setRef_res(int ref_res)
Set method for struct member 'ref_res'.
|
void |
setVis_res(int vis_res)
Set method for struct member 'vis_res'.
|
__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 LightCache.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__cube_len
only a single cache for now Number of probes to use for rendering.
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__cube_len); CPointer<Integer> p_cube_len = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__grid_len
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__grid_len); CPointer<Integer> p_grid_len = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__mips_len
Number of mipmap level to use.
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__mips_len); CPointer<Integer> p_mips_len = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__vis_res
Size of a visibility/reflection sample.
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__vis_res); CPointer<Integer> p_vis_res = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__ref_res
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__ref_res); CPointer<Integer> p_ref_res = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD___pad); CPointer<CArrayFacade<CArrayFacade<Byte>>> p__pad = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__grid_tx
In the future, we could create a bigger texture containing multiple caches (for animation) and interpolate between the caches overtime to another texture.
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__grid_tx); CPointer<LightCacheTexture> p_grid_tx = p.cast(new Class[]{LightCacheTexture.class});
public static final long[] __DNA__FIELD__cube_tx
Contains data for mipmap level 0.
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__cube_tx); CPointer<LightCacheTexture> p_cube_tx = p.cast(new Class[]{LightCacheTexture.class});
public static final long[] __DNA__FIELD__cube_mips
Does not contains valid GPUTexture, only data.
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__cube_mips); CPointer<CPointer<LightCacheTexture>> p_cube_mips = p.cast(new Class[]{CPointer.class, LightCacheTexture.class});
public static final long[] __DNA__FIELD__cube_data
All lightprobes data contained in the cache.
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__cube_data); CPointer<CPointer<LightProbeCache>> p_cube_data = p.cast(new Class[]{CPointer.class, LightProbeCache.class});
public static final long[] __DNA__FIELD__grid_data
This is how you get a reference on the corresponding field in the struct:
LightCache lightcache = ...; CPointer<Object> p = lightcache.__dna__addressof(LightCache.__DNA__FIELD__grid_data); CPointer<CPointer<LightGridCache>> p_grid_data = p.cast(new Class[]{CPointer.class, LightGridCache.class});
public LightCache(long __address, Block __block, BlockTable __blockTable)
protected LightCache(LightCache that)
public int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public int getCube_len() throws java.io.IOException
only a single cache for now Number of probes to use for rendering.
java.io.IOException
__DNA__FIELD__cube_len
public void setCube_len(int cube_len) throws java.io.IOException
only a single cache for now Number of probes to use for rendering.
java.io.IOException
__DNA__FIELD__cube_len
public int getGrid_len() throws java.io.IOException
java.io.IOException
__DNA__FIELD__grid_len
public void setGrid_len(int grid_len) throws java.io.IOException
java.io.IOException
__DNA__FIELD__grid_len
public int getMips_len() throws java.io.IOException
Number of mipmap level to use.
java.io.IOException
__DNA__FIELD__mips_len
public void setMips_len(int mips_len) throws java.io.IOException
Number of mipmap level to use.
java.io.IOException
__DNA__FIELD__mips_len
public int getVis_res() throws java.io.IOException
Size of a visibility/reflection sample.
java.io.IOException
__DNA__FIELD__vis_res
public void setVis_res(int vis_res) throws java.io.IOException
Size of a visibility/reflection sample.
java.io.IOException
__DNA__FIELD__vis_res
public int getRef_res() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ref_res
public void setRef_res(int ref_res) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ref_res
public CArrayFacade<CArrayFacade<java.lang.Byte>> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<CArrayFacade<java.lang.Byte>> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public LightCacheTexture getGrid_tx() throws java.io.IOException
In the future, we could create a bigger texture containing multiple caches (for animation) and interpolate between the caches overtime to another texture.
java.io.IOException
__DNA__FIELD__grid_tx
public void setGrid_tx(LightCacheTexture grid_tx) throws java.io.IOException
In the future, we could create a bigger texture containing multiple caches (for animation) and interpolate between the caches overtime to another texture.
java.io.IOException
__DNA__FIELD__grid_tx
public LightCacheTexture getCube_tx() throws java.io.IOException
Contains data for mipmap level 0.
java.io.IOException
__DNA__FIELD__cube_tx
public void setCube_tx(LightCacheTexture cube_tx) throws java.io.IOException
Contains data for mipmap level 0.
java.io.IOException
__DNA__FIELD__cube_tx
public CPointer<LightCacheTexture> getCube_mips() throws java.io.IOException
Does not contains valid GPUTexture, only data.
java.io.IOException
__DNA__FIELD__cube_mips
public void setCube_mips(CPointer<LightCacheTexture> cube_mips) throws java.io.IOException
Does not contains valid GPUTexture, only data.
java.io.IOException
__DNA__FIELD__cube_mips
public CPointer<LightProbeCache> getCube_data() throws java.io.IOException
All lightprobes data contained in the cache.
java.io.IOException
__DNA__FIELD__cube_data
public void setCube_data(CPointer<LightProbeCache> cube_data) throws java.io.IOException
All lightprobes data contained in the cache.
java.io.IOException
__DNA__FIELD__cube_data
public CPointer<LightGridCache> getGrid_data() throws java.io.IOException
java.io.IOException
__DNA__FIELD__grid_data
public void setGrid_data(CPointer<LightGridCache> grid_data) throws java.io.IOException
java.io.IOException
__DNA__FIELD__grid_data
public CPointer<LightCache> __io__addressof()