@Generated(value={"Immutables.generator","R2FilterFogParametersType"}) public final class R2FilterFogParameters extends Object implements R2FilterFogParametersType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2FilterFogParameters.Builder
Builds instances of type
R2FilterFogParameters. |
| Modifier and Type | Method and Description |
|---|---|
static R2FilterFogParameters.Builder |
builder()
Creates a builder for
R2FilterFogParameters. |
static R2FilterFogParameters |
copyOf(R2FilterFogParametersType instance)
Creates an immutable copy of a
R2FilterFogParametersType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2FilterFogParameters that have equal attribute values. |
com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> |
fogColor() |
float |
fogFarPositiveZ()
The positive eye-space Z value at which fog ends.
|
float |
fogNearPositiveZ()
The positive eye-space Z value at which fog starts.
|
int |
hashCode()
Computes a hash code from attributes:
progression, viewport, imageTexture, imageDepthTexture, fogNearPositiveZ, fogFarPositiveZ, fogColor, observerValues. |
R2Texture2DUsableType |
imageDepthTexture() |
R2Texture2DUsableType |
imageTexture() |
R2MatricesObserverValuesType |
observerValues() |
static R2FilterFogParameters |
of(R2FilterFogProgression progression,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport,
R2Texture2DUsableType imageTexture,
R2Texture2DUsableType imageDepthTexture,
float fogNearPositiveZ,
float fogFarPositiveZ,
com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> fogColor,
R2MatricesObserverValuesType observerValues)
Construct a new immutable
R2FilterFogParameters instance. |
R2FilterFogProgression |
progression()
A specification of fog progression.
|
String |
toString()
Prints the immutable value
R2FilterFogParameters with attribute values. |
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
viewport() |
R2FilterFogParameters |
withFogColor(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> value)
Copy the current immutable object by setting a value for the
fogColor attribute. |
R2FilterFogParameters |
withFogFarPositiveZ(float value)
Copy the current immutable object by setting a value for the
fogFarPositiveZ attribute. |
R2FilterFogParameters |
withFogNearPositiveZ(float value)
Copy the current immutable object by setting a value for the
fogNearPositiveZ attribute. |
R2FilterFogParameters |
withImageDepthTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
imageDepthTexture attribute. |
R2FilterFogParameters |
withImageTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
imageTexture attribute. |
R2FilterFogParameters |
withObserverValues(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
observerValues attribute. |
R2FilterFogParameters |
withProgression(R2FilterFogProgression value)
Copy the current immutable object by setting a value for the
progression attribute. |
R2FilterFogParameters |
withViewport(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
Copy the current immutable object by setting a value for the
viewport attribute. |
public R2FilterFogProgression progression()
fogNearPositiveZ().progression in interface R2FilterFogParametersTypepublic com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport()
viewport in interface R2FilterFogParametersTypepublic R2Texture2DUsableType imageTexture()
imageTexture in interface R2FilterFogParametersTypepublic R2Texture2DUsableType imageDepthTexture()
imageDepthTexture in interface R2FilterFogParametersTypepublic float fogNearPositiveZ()
fogNearPositiveZ in interface R2FilterFogParametersTypepublic float fogFarPositiveZ()
fogFarPositiveZ in interface R2FilterFogParametersTypepublic com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> fogColor()
fogColor in interface R2FilterFogParametersTypepublic R2MatricesObserverValuesType observerValues()
observerValues in interface R2FilterFogParametersTypepublic final R2FilterFogParameters withProgression(R2FilterFogProgression value)
progression attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for progressionthis objectpublic final R2FilterFogParameters withViewport(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
viewport attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for viewportthis objectpublic final R2FilterFogParameters withImageTexture(R2Texture2DUsableType value)
imageTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for imageTexturethis objectpublic final R2FilterFogParameters withImageDepthTexture(R2Texture2DUsableType value)
imageDepthTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for imageDepthTexturethis objectpublic final R2FilterFogParameters withFogNearPositiveZ(float value)
fogNearPositiveZ attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for fogNearPositiveZthis objectpublic final R2FilterFogParameters withFogFarPositiveZ(float value)
fogFarPositiveZ attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for fogFarPositiveZthis objectpublic final R2FilterFogParameters withFogColor(com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> value)
fogColor attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for fogColorthis objectpublic final R2FilterFogParameters withObserverValues(R2MatricesObserverValuesType value)
observerValues attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for observerValuesthis objectpublic boolean equals(Object another)
R2FilterFogParameters that have equal attribute values.public int hashCode()
progression, viewport, imageTexture, imageDepthTexture, fogNearPositiveZ, fogFarPositiveZ, fogColor, observerValues.public String toString()
R2FilterFogParameters with attribute values.public static R2FilterFogParameters of(R2FilterFogProgression progression, com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport, R2Texture2DUsableType imageTexture, R2Texture2DUsableType imageDepthTexture, float fogNearPositiveZ, float fogFarPositiveZ, com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> fogColor, R2MatricesObserverValuesType observerValues)
R2FilterFogParameters instance.progression - The value for the progression attributeviewport - The value for the viewport attributeimageTexture - The value for the imageTexture attributeimageDepthTexture - The value for the imageDepthTexture attributefogNearPositiveZ - The value for the fogNearPositiveZ attributefogFarPositiveZ - The value for the fogFarPositiveZ attributefogColor - The value for the fogColor attributeobserverValues - The value for the observerValues attributepublic static R2FilterFogParameters copyOf(R2FilterFogParametersType instance)
R2FilterFogParametersType 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 R2FilterFogParameters.Builder builder()
R2FilterFogParameters.Copyright © 2017 <code@io7m.com> http://io7m.com