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