@Generated(value={"Immutables.generator","R2FilterSSAOParametersType"}) public final class R2FilterSSAOParameters extends Object implements R2FilterSSAOParametersType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2FilterSSAOParameters.Builder
Builds instances of type
R2FilterSSAOParameters. |
| Modifier and Type | Method and Description |
|---|---|
static R2FilterSSAOParameters.Builder |
builder()
Creates a builder for
R2FilterSSAOParameters. |
static R2FilterSSAOParameters |
copyOf(R2FilterSSAOParametersType instance)
Creates an immutable copy of a
R2FilterSSAOParametersType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2FilterSSAOParameters that have equal attribute values. |
float |
exponent() |
R2GeometryBufferUsableType |
geometryBuffer() |
int |
hashCode()
Computes a hash code from attributes:
exponent, noiseTexture, kernel, sampleRadius, geometryBuffer, outputBuffer, sceneObserverValues. |
R2SSAOKernelType |
kernel() |
R2Texture2DUsableType |
noiseTexture() |
static R2FilterSSAOParameters |
of(float exponent,
R2Texture2DUsableType noiseTexture,
R2SSAOKernelType kernel,
float sampleRadius,
R2GeometryBufferUsableType geometryBuffer,
R2AmbientOcclusionBufferUsableType outputBuffer,
R2MatricesObserverValuesType sceneObserverValues)
Construct a new immutable
R2FilterSSAOParameters instance. |
R2AmbientOcclusionBufferUsableType |
outputBuffer() |
float |
sampleRadius() |
R2MatricesObserverValuesType |
sceneObserverValues() |
String |
toString()
Prints the immutable value
R2FilterSSAOParameters with attribute values. |
R2FilterSSAOParameters |
withExponent(float value)
Copy the current immutable object by setting a value for the
exponent attribute. |
R2FilterSSAOParameters |
withGeometryBuffer(R2GeometryBufferUsableType value)
Copy the current immutable object by setting a value for the
geometryBuffer attribute. |
R2FilterSSAOParameters |
withKernel(R2SSAOKernelType value)
Copy the current immutable object by setting a value for the
kernel attribute. |
R2FilterSSAOParameters |
withNoiseTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
noiseTexture attribute. |
R2FilterSSAOParameters |
withOutputBuffer(R2AmbientOcclusionBufferUsableType value)
Copy the current immutable object by setting a value for the
outputBuffer attribute. |
R2FilterSSAOParameters |
withSampleRadius(float value)
Copy the current immutable object by setting a value for the
sampleRadius attribute. |
R2FilterSSAOParameters |
withSceneObserverValues(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
sceneObserverValues attribute. |
public float exponent()
exponent in interface R2FilterSSAOParametersTypepublic R2Texture2DUsableType noiseTexture()
noiseTexture in interface R2FilterSSAOParametersTypepublic R2SSAOKernelType kernel()
kernel in interface R2FilterSSAOParametersTypepublic float sampleRadius()
sampleRadius in interface R2FilterSSAOParametersTypepublic R2GeometryBufferUsableType geometryBuffer()
geometryBuffer in interface R2FilterSSAOParametersTypepublic R2AmbientOcclusionBufferUsableType outputBuffer()
outputBuffer in interface R2FilterSSAOParametersTypepublic R2MatricesObserverValuesType sceneObserverValues()
sceneObserverValues in interface R2FilterSSAOParametersTypepublic final R2FilterSSAOParameters withExponent(float value)
exponent attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for exponentthis objectpublic final R2FilterSSAOParameters withNoiseTexture(R2Texture2DUsableType value)
noiseTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for noiseTexturethis objectpublic final R2FilterSSAOParameters withKernel(R2SSAOKernelType value)
kernel attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for kernelthis objectpublic final R2FilterSSAOParameters withSampleRadius(float value)
sampleRadius attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for sampleRadiusthis objectpublic final R2FilterSSAOParameters 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 R2FilterSSAOParameters withOutputBuffer(R2AmbientOcclusionBufferUsableType value)
outputBuffer attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for outputBufferthis objectpublic final R2FilterSSAOParameters withSceneObserverValues(R2MatricesObserverValuesType value)
sceneObserverValues attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sceneObserverValuesthis objectpublic boolean equals(Object another)
R2FilterSSAOParameters that have equal attribute values.public int hashCode()
exponent, noiseTexture, kernel, sampleRadius, geometryBuffer, outputBuffer, sceneObserverValues.public String toString()
R2FilterSSAOParameters with attribute values.public static R2FilterSSAOParameters of(float exponent, R2Texture2DUsableType noiseTexture, R2SSAOKernelType kernel, float sampleRadius, R2GeometryBufferUsableType geometryBuffer, R2AmbientOcclusionBufferUsableType outputBuffer, R2MatricesObserverValuesType sceneObserverValues)
R2FilterSSAOParameters instance.exponent - The value for the exponent attributenoiseTexture - The value for the noiseTexture attributekernel - The value for the kernel attributesampleRadius - The value for the sampleRadius attributegeometryBuffer - The value for the geometryBuffer attributeoutputBuffer - The value for the outputBuffer attributesceneObserverValues - The value for the sceneObserverValues attributepublic static R2FilterSSAOParameters copyOf(R2FilterSSAOParametersType instance)
R2FilterSSAOParametersType 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 R2FilterSSAOParameters.Builder builder()
R2FilterSSAOParameters.Copyright © 2017 <code@io7m.com> http://io7m.com