| Package | Description |
|---|---|
| com.io7m.r2.core.shaders.provided |
Default provided shaders.
|
| Modifier and Type | Method and Description |
|---|---|
R2DepthShaderBasicParameters |
R2DepthShaderBasicParameters.Builder.build()
Builds a new
R2DepthShaderBasicParameters. |
static R2DepthShaderBasicParameters |
R2DepthShaderBasicParameters.copyOf(R2DepthShaderBasicParametersType instance)
Creates an immutable copy of a
R2DepthShaderBasicParametersType value. |
static R2DepthShaderBasicParameters |
R2DepthShaderBasicParameters.of(R2TextureDefaultsType textureDefaults,
R2Texture2DUsableType albedoTexture,
float alphaDiscardThreshold)
Construct a new immutable
R2DepthShaderBasicParameters instance. |
R2DepthShaderBasicParameters |
R2DepthShaderBasicParameters.withAlbedoTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
albedoTexture attribute. |
R2DepthShaderBasicParameters |
R2DepthShaderBasicParameters.withAlphaDiscardThreshold(float value)
Copy the current immutable object by setting a value for the
alphaDiscardThreshold attribute. |
R2DepthShaderBasicParameters |
R2DepthShaderBasicParameters.withTextureDefaults(R2TextureDefaultsType value)
Copy the current immutable object by setting a value for the
textureDefaults attribute. |
| Modifier and Type | Method and Description |
|---|---|
static R2ShaderDepthSingleType<R2DepthShaderBasicParameters> |
R2DepthShaderBasicSingle.newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new shader.
|
static R2ShaderDepthBatchedType<R2DepthShaderBasicParameters> |
R2DepthShaderBasicBatched.newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new shader.
|
Class<R2DepthShaderBasicParameters> |
R2DepthShaderBasicSingle.shaderParametersType() |
Class<R2DepthShaderBasicParameters> |
R2DepthShaderBasicBatched.shaderParametersType() |
| Modifier and Type | Method and Description |
|---|---|
void |
R2DepthShaderBasicSingle.onReceiveMaterialValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersMaterialType<R2DepthShaderBasicParameters> mat_parameters) |
void |
R2DepthShaderBasicBatched.onReceiveMaterialValues(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2ShaderParametersMaterialType<R2DepthShaderBasicParameters> mat_parameters) |
Copyright © 2017 <code@io7m.com> http://io7m.com