| Package | Description |
|---|---|
| com.io7m.r2.core |
Core types and functions.
|
| com.io7m.r2.core.shaders.provided |
Default provided shaders.
|
| com.io7m.r2.core.shaders.types |
Shader types.
|
| Modifier and Type | Method and Description |
|---|---|
R2ShaderTranslucentInstanceSingleType<M> |
R2TranslucentSingleType.shader() |
R2ShaderTranslucentInstanceSingleType<M> |
R2TranslucentSingle.shader() |
| Modifier and Type | Method and Description |
|---|---|
static <M> R2TranslucentSingle<M> |
R2TranslucentSingle.of(R2InstanceSingleType instance,
R2ShaderTranslucentInstanceSingleType<M> shader,
M shaderParameters,
Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> blending,
com.io7m.jcanephora.renderstate.JCGLCullingState culling)
Construct a new immutable
R2TranslucentSingle instance. |
R2TranslucentSingle.Builder<M> |
R2TranslucentSingle.Builder.setShader(R2ShaderTranslucentInstanceSingleType<M> shader)
Initializes the value for the
shader attribute. |
R2TranslucentSingle<M> |
R2TranslucentSingle.withShader(R2ShaderTranslucentInstanceSingleType<M> value)
Copy the current immutable object by setting a value for the
shader attribute. |
| Modifier and Type | Class and Description |
|---|---|
class |
R2RefractionMaskedDeltaShaderSingle
Shader for refracting single instances.
|
class |
R2TranslucentShaderBasicPremultipliedSingle
Simple translucent shader for single instances.
|
| 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 R2ShaderTranslucentInstanceSingleType<R2RefractionMaskedDeltaParameters> |
R2RefractionMaskedDeltaShaderSingle.newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new shader.
|
| Modifier and Type | Class and Description |
|---|---|
class |
R2ShaderTranslucentInstanceSingleVerifier<M>
A delegating verifier for translucent single-instance shaders; a type that
verifies that a renderer has called all of the required methods in the
correct order.
|
| Modifier and Type | Method and Description |
|---|---|
static <M> R2ShaderTranslucentInstanceSingleType<M> |
R2ShaderTranslucentInstanceSingleVerifier.newVerifier(R2ShaderTranslucentInstanceSingleType<M> s)
Construct a new verifier for the given shader.
|
| Modifier and Type | Method and Description |
|---|---|
static <M> R2ShaderTranslucentInstanceSingleType<M> |
R2ShaderTranslucentInstanceSingleVerifier.newVerifier(R2ShaderTranslucentInstanceSingleType<M> s)
Construct a new verifier for the given shader.
|
Copyright © 2017 <code@io7m.com> http://io7m.com