| Package | Description |
|---|---|
| com.io7m.r2.core |
Core types and functions.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
R2InstanceBillboardedDynamicType
The type of billboarded instances that are expected to change often, both
in the number of instances, and the values of individual instances.
|
| Modifier and Type | Class and Description |
|---|---|
class |
R2InstanceBillboardedDynamic
The default implementation of the
R2InstanceBatchedDynamicType
interface. |
| Modifier and Type | Method and Description |
|---|---|
R2InstanceBillboardedType |
R2TranslucentBillboardedType.instance() |
R2InstanceBillboardedType |
R2TranslucentBillboarded.instance() |
| Modifier and Type | Method and Description |
|---|---|
static <M> R2TranslucentBillboarded<M> |
R2TranslucentBillboarded.of(R2InstanceBillboardedType instance,
R2ShaderTranslucentInstanceBillboardedType<M> shader,
M shaderParameters,
Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> blending,
com.io7m.jcanephora.renderstate.JCGLCullingState culling)
Construct a new immutable
R2TranslucentBillboarded instance. |
<M> void |
R2SceneOpaquesConsumerType.onInstanceBillboarded(R2MaterialOpaqueBillboardedType<M> material,
R2InstanceBillboardedType i)
Called when a batched instance should be rendered.
|
void |
R2SceneOpaquesConsumerType.onInstanceBillboardedUpdate(R2InstanceBillboardedType i)
Called when a batched instance should upload batch data to the GPU.
|
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) |
R2TranslucentBillboarded.Builder<M> |
R2TranslucentBillboarded.Builder.setInstance(R2InstanceBillboardedType instance)
Initializes the value for the
instance attribute. |
R2TranslucentBillboarded<M> |
R2TranslucentBillboarded.withInstance(R2InstanceBillboardedType value)
Copy the current immutable object by setting a value for the
instance attribute. |
Copyright © 2017 <code@io7m.com> http://io7m.com