@Generated(value={"Immutables.generator","R2FilterLightApplicatorParametersType"}) public final class R2FilterLightApplicatorParameters extends Object implements R2FilterLightApplicatorParametersType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2FilterLightApplicatorParameters.Builder
Builds instances of type
R2FilterLightApplicatorParameters. |
| Modifier and Type | Method and Description |
|---|---|
static R2FilterLightApplicatorParameters.Builder |
builder()
Creates a builder for
R2FilterLightApplicatorParameters. |
R2CopyDepth |
copyDepth() |
static R2FilterLightApplicatorParameters |
copyOf(R2FilterLightApplicatorParametersType instance)
Creates an immutable copy of a
R2FilterLightApplicatorParametersType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2FilterLightApplicatorParameters that have equal attribute values. |
R2GeometryBufferUsableType |
geometryBuffer() |
int |
hashCode()
Computes a hash code from attributes:
copyDepth, geometryBuffer, lightDiffuseTexture, lightSpecularTexture, outputViewport. |
R2Texture2DUsableType |
lightDiffuseTexture() |
R2Texture2DUsableType |
lightSpecularTexture() |
static R2FilterLightApplicatorParameters |
of(R2CopyDepth copyDepth,
R2GeometryBufferUsableType geometryBuffer,
R2Texture2DUsableType lightDiffuseTexture,
R2Texture2DUsableType lightSpecularTexture,
com.io7m.jareas.core.AreaInclusiveUnsignedLType outputViewport)
Construct a new immutable
R2FilterLightApplicatorParameters instance. |
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
outputViewport() |
String |
toString()
Prints the immutable value
R2FilterLightApplicatorParameters with attribute values. |
R2FilterLightApplicatorParameters |
withCopyDepth(R2CopyDepth value)
Copy the current immutable object by setting a value for the
copyDepth attribute. |
R2FilterLightApplicatorParameters |
withGeometryBuffer(R2GeometryBufferUsableType value)
Copy the current immutable object by setting a value for the
geometryBuffer attribute. |
R2FilterLightApplicatorParameters |
withLightDiffuseTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
lightDiffuseTexture attribute. |
R2FilterLightApplicatorParameters |
withLightSpecularTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
lightSpecularTexture attribute. |
R2FilterLightApplicatorParameters |
withOutputViewport(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
Copy the current immutable object by setting a value for the
outputViewport attribute. |
public R2CopyDepth copyDepth()
copyDepth in interface R2FilterLightApplicatorParametersTypepublic R2GeometryBufferUsableType geometryBuffer()
geometryBuffer in interface R2FilterLightApplicatorParametersTypepublic R2Texture2DUsableType lightDiffuseTexture()
lightDiffuseTexture in interface R2FilterLightApplicatorParametersTypepublic R2Texture2DUsableType lightSpecularTexture()
lightSpecularTexture in interface R2FilterLightApplicatorParametersTypepublic com.io7m.jareas.core.AreaInclusiveUnsignedLType outputViewport()
outputViewport in interface R2FilterLightApplicatorParametersTypepublic final R2FilterLightApplicatorParameters withCopyDepth(R2CopyDepth value)
copyDepth attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for copyDepththis objectpublic final R2FilterLightApplicatorParameters withGeometryBuffer(R2GeometryBufferUsableType value)
geometryBuffer attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for geometryBufferthis objectpublic final R2FilterLightApplicatorParameters withLightDiffuseTexture(R2Texture2DUsableType value)
lightDiffuseTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for lightDiffuseTexturethis objectpublic final R2FilterLightApplicatorParameters withLightSpecularTexture(R2Texture2DUsableType value)
lightSpecularTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for lightSpecularTexturethis objectpublic final R2FilterLightApplicatorParameters withOutputViewport(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
outputViewport attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for outputViewportthis objectpublic boolean equals(Object another)
R2FilterLightApplicatorParameters that have equal attribute values.public int hashCode()
copyDepth, geometryBuffer, lightDiffuseTexture, lightSpecularTexture, outputViewport.public String toString()
R2FilterLightApplicatorParameters with attribute values.public static R2FilterLightApplicatorParameters of(R2CopyDepth copyDepth, R2GeometryBufferUsableType geometryBuffer, R2Texture2DUsableType lightDiffuseTexture, R2Texture2DUsableType lightSpecularTexture, com.io7m.jareas.core.AreaInclusiveUnsignedLType outputViewport)
R2FilterLightApplicatorParameters instance.copyDepth - The value for the copyDepth attributegeometryBuffer - The value for the geometryBuffer attributelightDiffuseTexture - The value for the lightDiffuseTexture attributelightSpecularTexture - The value for the lightSpecularTexture attributeoutputViewport - The value for the outputViewport attributepublic static R2FilterLightApplicatorParameters copyOf(R2FilterLightApplicatorParametersType instance)
R2FilterLightApplicatorParametersType 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 R2FilterLightApplicatorParameters.Builder builder()
R2FilterLightApplicatorParameters.Copyright © 2016 <code@io7m.com> http://io7m.com