| Package | Description |
|---|---|
| com.io7m.r2.core |
Core types and functions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
R2MaterialDepthBatched<M>
The type of materials that can be applied to batched depth-only instances.
|
| Modifier and Type | Method and Description |
|---|---|
static <M> R2MaterialDepthBatched<M> |
R2MaterialDepthBatched.copyOf(R2MaterialDepthBatchedType<M> instance)
Creates an immutable copy of a
R2MaterialDepthBatchedType value. |
<M> void |
R2DepthInstancesType.depthsAddBatchedInstance(R2InstanceBatchedType i,
R2MaterialDepthBatchedType<M> m)
Add a batched instance to the scene using the given material, in group
1. |
<M> void |
R2DepthInstances.depthsAddBatchedInstance(R2InstanceBatchedType i,
R2MaterialDepthBatchedType<M> m) |
R2MaterialDepthBatched.Builder<M> |
R2MaterialDepthBatched.Builder.from(R2MaterialDepthBatchedType<M> instance)
Fill a builder with attribute values from the provided
R2MaterialDepthBatchedType instance. |
<M> void |
R2DepthInstancesConsumerType.onInstanceBatched(R2MaterialDepthBatchedType<M> material,
R2InstanceBatchedType i)
Called when a batched instance should be rendered.
|
<M> void |
R2DepthInstancesConsumerType.onInstanceBatchedMaterialFinish(R2MaterialDepthBatchedType<M> material)
Called after the current set of batched instances have finished rendering
with the current material.
|
<M> void |
R2DepthInstancesConsumerType.onInstanceBatchedMaterialStart(R2MaterialDepthBatchedType<M> material)
Called when new material settings should be assigned, for batched
instances.
|
Copyright © 2017 <code@io7m.com> http://io7m.com