| Package | Description |
|---|---|
| com.io7m.r2.core.debug |
Types and functions associated with debugging.
|
| Modifier and Type | Method and Description |
|---|---|
R2DebugLineSegment |
R2DebugLineSegment.Builder.build()
Builds a new
R2DebugLineSegment. |
static R2DebugLineSegment |
R2DebugLineSegment.copyOf(R2DebugLineSegmentType instance)
Creates an immutable copy of a
R2DebugLineSegmentType value. |
static R2DebugLineSegment |
R2DebugLineSegment.of(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceWorldType> from,
com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> fromColor,
com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceWorldType> to,
com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> toColor)
Construct a new immutable
R2DebugLineSegment instance. |
R2DebugLineSegment |
R2DebugLineSegment.withFrom(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceWorldType> value)
Copy the current immutable object by setting a value for the
from attribute. |
R2DebugLineSegment |
R2DebugLineSegment.withFromColor(com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> value)
Copy the current immutable object by setting a value for the
fromColor attribute. |
R2DebugLineSegment |
R2DebugLineSegment.withTo(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceWorldType> value)
Copy the current immutable object by setting a value for the
to attribute. |
R2DebugLineSegment |
R2DebugLineSegment.withToColor(com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> value)
Copy the current immutable object by setting a value for the
toColor attribute. |
| Modifier and Type | Method and Description |
|---|---|
List<R2DebugLineSegment> |
R2DebugInstancesType.lineSegments() |
List<R2DebugLineSegment> |
R2DebugInstances.lineSegments() |
| Modifier and Type | Method and Description |
|---|---|
R2DebugInstances.Builder |
R2DebugInstances.Builder.addLineSegments(R2DebugLineSegment... elements)
Adds elements to
lineSegments list. |
R2DebugInstances.Builder |
R2DebugInstances.Builder.addLineSegments(R2DebugLineSegment element)
Adds one element to
lineSegments list. |
R2DebugInstances |
R2DebugInstances.withLineSegments(R2DebugLineSegment... elements)
Copy the current immutable object with elements that replace the content of
lineSegments. |
| Modifier and Type | Method and Description |
|---|---|
R2DebugInstances.Builder |
R2DebugInstances.Builder.addAllLineSegments(Iterable<? extends R2DebugLineSegment> elements)
Adds elements to
lineSegments list. |
static R2DebugInstances |
R2DebugInstances.of(Iterable<? extends R2DebugLineSegment> lineSegments,
Iterable<? extends R2DebugCubeInstance> cubes,
Iterable<? extends R2DebugInstanceSingle> instanceSingles)
Construct a new immutable
R2DebugInstances instance. |
static R2DebugInstances |
R2DebugInstances.of(List<R2DebugLineSegment> lineSegments,
List<R2DebugCubeInstance> cubes,
List<R2DebugInstanceSingle> instanceSingles)
Construct a new immutable
R2DebugInstances instance. |
R2DebugInstances.Builder |
R2DebugInstances.Builder.setLineSegments(Iterable<? extends R2DebugLineSegment> elements)
Sets or replaces all elements for
lineSegments list. |
void |
R2DebugLineSegmentsBatch.setLineSegments(List<R2DebugLineSegment> segments)
Set the line segments and create any necessary batches on the GPU.
|
R2DebugInstances |
R2DebugInstances.withLineSegments(Iterable<? extends R2DebugLineSegment> elements)
Copy the current immutable object with elements that replace the content of
lineSegments. |
Copyright © 2016 <code@io7m.com> http://io7m.com