| 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 |
|---|---|
R2ShaderTranslucentInstanceBatchedType<M> |
R2TranslucentBatchedType.shader() |
R2ShaderTranslucentInstanceBatchedType<M> |
R2TranslucentBatched.shader() |
| Modifier and Type | Method and Description |
|---|---|
static <M> R2TranslucentBatched<M> |
R2TranslucentBatched.of(R2InstanceBatchedType instance,
R2ShaderTranslucentInstanceBatchedType<M> shader,
M shaderParameters,
Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> blending,
com.io7m.jcanephora.renderstate.JCGLCullingState culling)
Construct a new immutable
R2TranslucentBatched instance. |
R2TranslucentBatched.Builder<M> |
R2TranslucentBatched.Builder.setShader(R2ShaderTranslucentInstanceBatchedType<M> shader)
Initializes the value for the
shader attribute. |
R2TranslucentBatched<M> |
R2TranslucentBatched.withShader(R2ShaderTranslucentInstanceBatchedType<M> value)
Copy the current immutable object by setting a value for the
shader attribute. |
| Modifier and Type | Class and Description |
|---|---|
class |
R2RefractionMaskedDeltaShaderBatched
Shader for refracting batched instances.
|
class |
R2TranslucentShaderBasicPremultipliedBatched
Simple translucent shader for batched instances.
|
| Modifier and Type | Method and Description |
|---|---|
static R2ShaderTranslucentInstanceBatchedType<R2TranslucentShaderBasicParameters> |
R2TranslucentShaderBasicPremultipliedBatched.newShader(com.io7m.jcanephora.core.api.JCGLShadersType in_shaders,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new shader.
|
static R2ShaderTranslucentInstanceBatchedType<R2RefractionMaskedDeltaParameters> |
R2RefractionMaskedDeltaShaderBatched.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 |
R2ShaderTranslucentInstanceBatchedVerifier<M>
A verifier for batched translucent 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> R2ShaderTranslucentInstanceBatchedType<M> |
R2ShaderTranslucentInstanceBatchedVerifier.newVerifier(R2ShaderTranslucentInstanceBatchedType<M> s)
Construct a new verifier for the given shader.
|
| Modifier and Type | Method and Description |
|---|---|
static <M> R2ShaderTranslucentInstanceBatchedType<M> |
R2ShaderTranslucentInstanceBatchedVerifier.newVerifier(R2ShaderTranslucentInstanceBatchedType<M> s)
Construct a new verifier for the given shader.
|
Copyright © 2016 <code@io7m.com> http://io7m.com