| Package | Description |
|---|---|
| com.io7m.r2.core |
Core types and functions.
|
| com.io7m.r2.core.debug |
Types and functions associated with debugging.
|
| Modifier and Type | Class and Description |
|---|---|
class |
R2InstanceSingle
The type of single instances.
|
| Modifier and Type | Method and Description |
|---|---|
R2InstanceSingleType |
R2TranslucentSingleType.instance() |
R2InstanceSingleType |
R2TranslucentSingle.instance() |
| Modifier and Type | Method and Description |
|---|---|
List<R2InstanceSingleType> |
R2MaskInstancesType.singles() |
List<R2InstanceSingleType> |
R2MaskInstances.singles() |
| Modifier and Type | Method and Description |
|---|---|
R2MaskInstances.Builder |
R2MaskInstances.Builder.addSingles(R2InstanceSingleType... elements)
Adds elements to
singles list. |
R2MaskInstances.Builder |
R2MaskInstances.Builder.addSingles(R2InstanceSingleType element)
Adds one element to
singles list. |
static R2InstanceSingle |
R2InstanceSingle.copyOf(R2InstanceSingleType instance)
Creates an immutable copy of a
R2InstanceSingleType value. |
<M> void |
R2DepthInstancesType.depthsAddSingleInstance(R2InstanceSingleType i,
R2MaterialDepthSingleType<M> m)
Add a single instance to the scene using the given material, in group
1. |
<M> void |
R2DepthInstances.depthsAddSingleInstance(R2InstanceSingleType i,
R2MaterialDepthSingleType<M> m) |
R2InstanceSingle.Builder |
R2InstanceSingle.Builder.from(R2InstanceSingleType instance)
Fill a builder with attribute values from the provided
com.io7m.r2.core.R2InstanceSingleType instance. |
R2SceneLightsClipGroupType |
R2SceneLightsGroupType.lightGroupNewClipGroup(R2InstanceSingleType i)
Retrieve a clip group, creating one if the group does not exist, using the
given instance as a clipping volume.
|
static <M> R2TranslucentSingle<M> |
R2TranslucentSingle.of(R2InstanceSingleType instance,
R2ShaderTranslucentInstanceSingleType<M> shader,
M shaderParameters,
Optional<com.io7m.jcanephora.renderstate.JCGLBlendState> blending,
com.io7m.jcanephora.renderstate.JCGLCullingState culling)
Construct a new immutable
R2TranslucentSingle instance. |
void |
R2SceneStencilsConsumerType.onInstanceSingle(R2InstanceSingleType i)
Called when a single instance should be rendered.
|
<M> void |
R2DepthInstancesConsumerType.onInstanceSingle(R2MaterialDepthSingleType<M> material,
R2InstanceSingleType i)
Called when a single instance should be rendered.
|
<M> void |
R2SceneOpaquesConsumerType.onInstanceSingle(R2MaterialOpaqueSingleType<M> material,
R2InstanceSingleType i)
Called when a single instance should be rendered.
|
void |
R2SceneOpaquesConsumerType.onInstanceSingleArrayStart(R2InstanceSingleType i)
Called when a new array object should be bound, for single instances.
|
void |
R2DepthInstancesConsumerType.onInstanceSingleArrayStart(R2InstanceSingleType i)
Called when a new array object should be bound, for single instances.
|
void |
R2SceneStencilsConsumerType.onInstanceSingleStartArray(R2InstanceSingleType i)
Called when a new array object should be bound.
|
R2SceneLightsClipGroupConsumerType |
R2SceneLightsConsumerType.onStartClipGroup(R2InstanceSingleType i,
int group)
Called when a clip group should be rendered.
|
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) |
R2TranslucentSingle.Builder<M> |
R2TranslucentSingle.Builder.setInstance(R2InstanceSingleType instance)
Initializes the value for the
instance attribute. |
void |
R2SceneStencilsType.stencilsAddSingle(R2InstanceSingleType i)
Add a single instance to the scene.
|
void |
R2SceneStencils.stencilsAddSingle(R2InstanceSingleType i) |
R2TranslucentSingle<M> |
R2TranslucentSingle.withInstance(R2InstanceSingleType value)
Copy the current immutable object by setting a value for the
instance attribute. |
R2MaskInstances |
R2MaskInstances.withSingles(R2InstanceSingleType... elements)
Copy the current immutable object with elements that replace the content of
singles. |
| Modifier and Type | Method and Description |
|---|---|
R2MaskInstances.Builder |
R2MaskInstances.Builder.addAllSingles(Iterable<? extends R2InstanceSingleType> elements)
Adds elements to
singles list. |
R2MaskInstances.Builder |
R2MaskInstances.Builder.setSingles(Iterable<? extends R2InstanceSingleType> elements)
Sets or replaces all elements for
singles list. |
R2MaskInstances |
R2MaskInstances.withSingles(Iterable<? extends R2InstanceSingleType> elements)
Copy the current immutable object with elements that replace the content of
singles. |
| Modifier and Type | Method and Description |
|---|---|
R2InstanceSingleType |
R2DebugInstanceSingleType.instance() |
R2InstanceSingleType |
R2DebugInstanceSingle.instance() |
| Modifier and Type | Method and Description |
|---|---|
static R2DebugInstanceSingle |
R2DebugInstanceSingle.of(R2InstanceSingleType instance,
com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> color)
Construct a new immutable
R2DebugInstanceSingle instance. |
R2DebugInstanceSingle.Builder |
R2DebugInstanceSingle.Builder.setInstance(R2InstanceSingleType instance)
Initializes the value for the
instance attribute. |
R2DebugInstanceSingle |
R2DebugInstanceSingle.withInstance(R2InstanceSingleType value)
Copy the current immutable object by setting a value for the
instance attribute. |
Copyright © 2017 <code@io7m.com> http://io7m.com