public class GPUSSAOSettings extends CFacade
Properties for SSAO effect.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__attenuation
Field descriptor (offset) for struct member 'attenuation'.
|
static long[] |
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.
|
static long[] |
__DNA__FIELD__distance_max
Field descriptor (offset) for struct member 'distance_max'.
|
static long[] |
__DNA__FIELD__factor
Field descriptor (offset) for struct member 'factor'.
|
static long[] |
__DNA__FIELD__samples
Field descriptor (offset) for struct member 'samples'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct GPUSSAOSettings.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
GPUSSAOSettings(GPUSSAOSettings that) |
|
GPUSSAOSettings(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<GPUSSAOSettings> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
float |
getAttenuation()
Get method for struct member 'attenuation'.
|
CArrayFacade<java.lang.Float> |
getColor()
Get method for struct member 'color'.
|
float |
getDistance_max()
Get method for struct member 'distance_max'.
|
float |
getFactor()
Get method for struct member 'factor'.
|
int |
getSamples()
Get method for struct member 'samples'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setAttenuation(float attenuation)
Set method for struct member 'attenuation'.
|
void |
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.
|
void |
setDistance_max(float distance_max)
Set method for struct member 'distance_max'.
|
void |
setFactor(float factor)
Set method for struct member 'factor'.
|
void |
setSamples(int samples)
Set method for struct member 'samples'.
|
__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 GPUSSAOSettings.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__factor
This is how you get a reference on the corresponding field in the struct:
GPUSSAOSettings gpussaosettings = ...; CPointer<Object> p = gpussaosettings.__dna__addressof(GPUSSAOSettings.__DNA__FIELD__factor); CPointer<Float> p_factor = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__color
This is how you get a reference on the corresponding field in the struct:
GPUSSAOSettings gpussaosettings = ...; CPointer<Object> p = gpussaosettings.__dna__addressof(GPUSSAOSettings.__DNA__FIELD__color); CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__distance_max
This is how you get a reference on the corresponding field in the struct:
GPUSSAOSettings gpussaosettings = ...; CPointer<Object> p = gpussaosettings.__dna__addressof(GPUSSAOSettings.__DNA__FIELD__distance_max); CPointer<Float> p_distance_max = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__attenuation
This is how you get a reference on the corresponding field in the struct:
GPUSSAOSettings gpussaosettings = ...; CPointer<Object> p = gpussaosettings.__dna__addressof(GPUSSAOSettings.__DNA__FIELD__attenuation); CPointer<Float> p_attenuation = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__samples
Ray samples, we use presets here for easy control instead of.
This is how you get a reference on the corresponding field in the struct:
GPUSSAOSettings gpussaosettings = ...; CPointer<Object> p = gpussaosettings.__dna__addressof(GPUSSAOSettings.__DNA__FIELD__samples); CPointer<Integer> p_samples = 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:
GPUSSAOSettings gpussaosettings = ...; CPointer<Object> p = gpussaosettings.__dna__addressof(GPUSSAOSettings.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public GPUSSAOSettings(long __address, Block __block, BlockTable __blockTable)
protected GPUSSAOSettings(GPUSSAOSettings that)
public float getFactor() throws java.io.IOException
java.io.IOException
__DNA__FIELD__factor
public void setFactor(float factor) throws java.io.IOException
java.io.IOException
__DNA__FIELD__factor
public CArrayFacade<java.lang.Float> getColor() throws java.io.IOException
java.io.IOException
__DNA__FIELD__color
public void setColor(CArrayFacade<java.lang.Float> color) throws java.io.IOException
java.io.IOException
__DNA__FIELD__color
public float getDistance_max() throws java.io.IOException
java.io.IOException
__DNA__FIELD__distance_max
public void setDistance_max(float distance_max) throws java.io.IOException
java.io.IOException
__DNA__FIELD__distance_max
public float getAttenuation() throws java.io.IOException
java.io.IOException
__DNA__FIELD__attenuation
public void setAttenuation(float attenuation) throws java.io.IOException
java.io.IOException
__DNA__FIELD__attenuation
public int getSamples() throws java.io.IOException
Ray samples, we use presets here for easy control instead of.
java.io.IOException
__DNA__FIELD__samples
public void setSamples(int samples) throws java.io.IOException
Ray samples, we use presets here for easy control instead of.
java.io.IOException
__DNA__FIELD__samples
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<GPUSSAOSettings> __io__addressof()