| Package | Description |
|---|---|
| com.io7m.r2.core.shaders.provided |
Default provided shaders.
|
| Modifier and Type | Method and Description |
|---|---|
R2TranslucentShaderBasicParameters |
R2TranslucentShaderBasicParameters.Builder.build()
Builds a new
R2TranslucentShaderBasicParameters. |
static R2TranslucentShaderBasicParameters |
R2TranslucentShaderBasicParameters.copyOf(R2TranslucentShaderBasicParametersType instance)
Creates an immutable copy of a
R2TranslucentShaderBasicParametersType value. |
static R2TranslucentShaderBasicParameters |
R2TranslucentShaderBasicParameters.of(R2TextureDefaultsType textureDefaults,
R2Texture2DUsableType albedoTexture,
com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> albedoColor,
float fadeZNear,
float fadeZFar)
Construct a new immutable
R2TranslucentShaderBasicParameters instance. |
R2TranslucentShaderBasicParameters |
R2TranslucentShaderBasicParameters.withAlbedoColor(com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> value)
Copy the current immutable object by setting a value for the
albedoColor attribute. |
R2TranslucentShaderBasicParameters |
R2TranslucentShaderBasicParameters.withAlbedoTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
albedoTexture attribute. |
R2TranslucentShaderBasicParameters |
R2TranslucentShaderBasicParameters.withFadeZFar(float value)
Copy the current immutable object by setting a value for the
fadeZFar attribute. |
R2TranslucentShaderBasicParameters |
R2TranslucentShaderBasicParameters.withFadeZNear(float value)
Copy the current immutable object by setting a value for the
fadeZNear attribute. |
R2TranslucentShaderBasicParameters |
R2TranslucentShaderBasicParameters.withTextureDefaults(R2TextureDefaultsType value)
Copy the current immutable object by setting a value for the
textureDefaults attribute. |
| Modifier and Type | Method and Description |
|---|---|
static R2ShaderTranslucentInstanceSingleType<R2TranslucentShaderBasicParameters> |
R2TranslucentShaderBasicPremultipliedSingle.newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new shader.
|
static R2ShaderTranslucentInstanceBillboardedType<R2TranslucentShaderBasicParameters> |
R2TranslucentShaderBasicPremultipliedBillboarded.newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new shader.
|
static R2ShaderTranslucentInstanceBatchedType<R2TranslucentShaderBasicParameters> |
R2TranslucentShaderBasicPremultipliedBatched.newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new shader.
|
Class<R2TranslucentShaderBasicParameters> |
R2TranslucentShaderBasicPremultipliedSingle.shaderParametersType() |
Class<R2TranslucentShaderBasicParameters> |
R2TranslucentShaderBasicPremultipliedBillboarded.shaderParametersType() |
Class<R2TranslucentShaderBasicParameters> |
R2TranslucentShaderBasicPremultipliedBatched.shaderParametersType() |
| Modifier and Type | Method and Description |
|---|---|
void |
R2TranslucentShaderBasicPremultipliedSingle.onReceiveMaterialValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersMaterialType<R2TranslucentShaderBasicParameters> mat_parameters) |
void |
R2TranslucentShaderBasicPremultipliedBillboarded.onReceiveMaterialValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersMaterialType<R2TranslucentShaderBasicParameters> mat_parameters) |
void |
R2TranslucentShaderBasicPremultipliedBatched.onReceiveMaterialValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersMaterialType<R2TranslucentShaderBasicParameters> mat_parameters) |
Copyright © 2017 <code@io7m.com> http://io7m.com