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