| 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 |
|---|---|
R2ShaderInstanceBatchedUsableType<M> |
R2MaterialOpaqueBatchedType.shader() |
R2ShaderInstanceBatchedUsableType<M> |
R2MaterialOpaqueBatched.shader() |
| Modifier and Type | Method and Description |
|---|---|
static <M> R2MaterialOpaqueBatched<M> |
R2MaterialOpaqueBatched.of(long materialID,
R2ShaderInstanceBatchedUsableType<M> shader,
M shaderParameters)
Construct a new immutable
R2MaterialOpaqueBatched instance. |
<M> void |
R2SceneOpaquesConsumerType.onInstanceBatchedShaderFinish(R2ShaderInstanceBatchedUsableType<M> s)
Called when the current shader should be deactivated.
|
<M> void |
R2SceneOpaquesConsumerType.onInstanceBatchedShaderStart(R2ShaderInstanceBatchedUsableType<M> s)
Called when a new shader should be activated in order to start rendering
batched instances.
|
R2MaterialOpaqueBatched.Builder<M> |
R2MaterialOpaqueBatched.Builder.setShader(R2ShaderInstanceBatchedUsableType<M> shader)
Initializes the value for the
shader attribute. |
R2MaterialOpaqueBatched<M> |
R2MaterialOpaqueBatched.withShader(R2ShaderInstanceBatchedUsableType<M> value)
Copy the current immutable object by setting a value for the
shader attribute. |
| Modifier and Type | Class and Description |
|---|---|
class |
R2MaskShaderBatched
Shader for masking single instances.
|
class |
R2ShaderDebugVisualBatched
Debug visualization shader for batched instances.
|
class |
R2SurfaceShaderBasicBatched
Basic deferred surface shader for batched instances.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
R2ShaderInstanceBatchedType<M>
The type of shaders for rendering the surfaces of batched instances into a
geometry buffer.
|
| Modifier and Type | Class and Description |
|---|---|
class |
R2ShaderInstanceBatchedVerifier<M>
A verifier for batched instance shaders; a type that verifies that a renderer
has called all of the required methods in the correct order.
|
Copyright © 2016 <code@io7m.com> http://io7m.com