@Generated(value={"Immutables.generator","R2DebugVisualizerRendererParametersType"}) public final class R2DebugVisualizerRendererParameters extends Object implements R2DebugVisualizerRendererParametersType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2DebugVisualizerRendererParameters.Builder
Builds instances of type
R2DebugVisualizerRendererParameters. |
| Modifier and Type | Method and Description |
|---|---|
static R2DebugVisualizerRendererParameters.Builder |
builder()
Creates a builder for
R2DebugVisualizerRendererParameters. |
static R2DebugVisualizerRendererParameters |
copyOf(R2DebugVisualizerRendererParametersType instance)
Creates an immutable copy of a
R2DebugVisualizerRendererParametersType value. |
R2DebugCubeUsableType |
debugCube() |
R2DebugInstancesType |
debugInstances() |
boolean |
equals(Object another)
This instance is equal to all instances of
R2DebugVisualizerRendererParameters that have equal attribute values. |
com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> |
geometryDefaultColor() |
it.unimi.dsi.fastutil.ints.Int2ReferenceMap<com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType>> |
geometryGroupColors()
The mapping from groups to colors.
|
int |
hashCode()
Computes a hash code from attributes:
unitSphere, debugCube, opaqueInstances, lights, debugInstances, showOpaqueInstances, showLights, geometryGroupColors, geometryDefaultColor. |
R2SceneLightsType |
lights() |
static R2DebugVisualizerRendererParameters |
of(R2UnitSphereUsableType unitSphere,
R2DebugCubeUsableType debugCube,
R2SceneOpaquesReadableType opaqueInstances,
R2SceneLightsType lights,
R2DebugInstancesType debugInstances,
boolean showOpaqueInstances,
boolean showLights,
it.unimi.dsi.fastutil.ints.Int2ReferenceMap<com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType>> geometryGroupColors,
com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> geometryDefaultColor)
Construct a new immutable
R2DebugVisualizerRendererParameters instance. |
R2SceneOpaquesReadableType |
opaqueInstances() |
boolean |
showLights() |
boolean |
showOpaqueInstances() |
String |
toString()
Prints the immutable value
R2DebugVisualizerRendererParameters with attribute values. |
R2UnitSphereUsableType |
unitSphere() |
R2DebugVisualizerRendererParameters |
withDebugCube(R2DebugCubeUsableType value)
Copy the current immutable object by setting a value for the
debugCube attribute. |
R2DebugVisualizerRendererParameters |
withDebugInstances(R2DebugInstancesType value)
Copy the current immutable object by setting a value for the
debugInstances attribute. |
R2DebugVisualizerRendererParameters |
withGeometryDefaultColor(com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> value)
Copy the current immutable object by setting a value for the
geometryDefaultColor attribute. |
R2DebugVisualizerRendererParameters |
withGeometryGroupColors(it.unimi.dsi.fastutil.ints.Int2ReferenceMap<com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType>> value)
Copy the current immutable object by setting a value for the
geometryGroupColors attribute. |
R2DebugVisualizerRendererParameters |
withLights(R2SceneLightsType value)
Copy the current immutable object by setting a value for the
lights attribute. |
R2DebugVisualizerRendererParameters |
withOpaqueInstances(R2SceneOpaquesReadableType value)
Copy the current immutable object by setting a value for the
opaqueInstances attribute. |
R2DebugVisualizerRendererParameters |
withShowLights(boolean value)
Copy the current immutable object by setting a value for the
showLights attribute. |
R2DebugVisualizerRendererParameters |
withShowOpaqueInstances(boolean value)
Copy the current immutable object by setting a value for the
showOpaqueInstances attribute. |
R2DebugVisualizerRendererParameters |
withUnitSphere(R2UnitSphereUsableType value)
Copy the current immutable object by setting a value for the
unitSphere attribute. |
public R2UnitSphereUsableType unitSphere()
unitSphere in interface R2DebugVisualizerRendererParametersTypepublic R2DebugCubeUsableType debugCube()
debugCube in interface R2DebugVisualizerRendererParametersTypepublic R2SceneOpaquesReadableType opaqueInstances()
opaqueInstances in interface R2DebugVisualizerRendererParametersTypepublic R2SceneLightsType lights()
lights in interface R2DebugVisualizerRendererParametersTypepublic R2DebugInstancesType debugInstances()
debugInstances in interface R2DebugVisualizerRendererParametersTypepublic boolean showOpaqueInstances()
showOpaqueInstances in interface R2DebugVisualizerRendererParametersTypetrue iff opaque instances should be renderedpublic boolean showLights()
showLights in interface R2DebugVisualizerRendererParametersTypetrue iff lights should be renderedpublic it.unimi.dsi.fastutil.ints.Int2ReferenceMap<com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType>> geometryGroupColors()
geometryGroupColors in interface R2DebugVisualizerRendererParametersTypegeometryDefaultColor()public com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> geometryDefaultColor()
geometryDefaultColor in interface R2DebugVisualizerRendererParametersTypegeometryGroupColors()public final R2DebugVisualizerRendererParameters withUnitSphere(R2UnitSphereUsableType value)
unitSphere attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for unitSpherethis objectpublic final R2DebugVisualizerRendererParameters withDebugCube(R2DebugCubeUsableType value)
debugCube attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for debugCubethis objectpublic final R2DebugVisualizerRendererParameters withOpaqueInstances(R2SceneOpaquesReadableType value)
opaqueInstances attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for opaqueInstancesthis objectpublic final R2DebugVisualizerRendererParameters withLights(R2SceneLightsType value)
lights attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for lightsthis objectpublic final R2DebugVisualizerRendererParameters withDebugInstances(R2DebugInstancesType value)
debugInstances attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for debugInstancesthis objectpublic final R2DebugVisualizerRendererParameters withShowOpaqueInstances(boolean value)
showOpaqueInstances attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for showOpaqueInstancesthis objectpublic final R2DebugVisualizerRendererParameters withShowLights(boolean value)
showLights attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for showLightsthis objectpublic final R2DebugVisualizerRendererParameters withGeometryGroupColors(it.unimi.dsi.fastutil.ints.Int2ReferenceMap<com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType>> value)
geometryGroupColors attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for geometryGroupColorsthis objectpublic final R2DebugVisualizerRendererParameters withGeometryDefaultColor(com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> value)
geometryDefaultColor attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for geometryDefaultColorthis objectpublic boolean equals(Object another)
R2DebugVisualizerRendererParameters that have equal attribute values.public int hashCode()
unitSphere, debugCube, opaqueInstances, lights, debugInstances, showOpaqueInstances, showLights, geometryGroupColors, geometryDefaultColor.public String toString()
R2DebugVisualizerRendererParameters with attribute values.public static R2DebugVisualizerRendererParameters of(R2UnitSphereUsableType unitSphere, R2DebugCubeUsableType debugCube, R2SceneOpaquesReadableType opaqueInstances, R2SceneLightsType lights, R2DebugInstancesType debugInstances, boolean showOpaqueInstances, boolean showLights, it.unimi.dsi.fastutil.ints.Int2ReferenceMap<com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType>> geometryGroupColors, com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> geometryDefaultColor)
R2DebugVisualizerRendererParameters instance.unitSphere - The value for the unitSphere attributedebugCube - The value for the debugCube attributeopaqueInstances - The value for the opaqueInstances attributelights - The value for the lights attributedebugInstances - The value for the debugInstances attributeshowOpaqueInstances - The value for the showOpaqueInstances attributeshowLights - The value for the showLights attributegeometryGroupColors - The value for the geometryGroupColors attributegeometryDefaultColor - The value for the geometryDefaultColor attributepublic static R2DebugVisualizerRendererParameters copyOf(R2DebugVisualizerRendererParametersType instance)
R2DebugVisualizerRendererParametersType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static R2DebugVisualizerRendererParameters.Builder builder()
R2DebugVisualizerRendererParameters.Copyright © 2016 <code@io7m.com> http://io7m.com