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