@Generated(value={"Immutables.generator","R2DepthVarianceBufferDescriptionType"}) public final class R2DepthVarianceBufferDescription extends Object implements R2DepthVarianceBufferDescriptionType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2DepthVarianceBufferDescription.Builder
Builds instances of type
R2DepthVarianceBufferDescription. |
| Modifier and Type | Method and Description |
|---|---|
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
area() |
static R2DepthVarianceBufferDescription.Builder |
builder()
Creates a builder for
R2DepthVarianceBufferDescription. |
static R2DepthVarianceBufferDescription |
copyOf(R2DepthVarianceBufferDescriptionType instance)
Creates an immutable copy of a
R2DepthVarianceBufferDescriptionType value. |
R2DepthPrecision |
depthPrecision() |
R2DepthVariancePrecision |
depthVariancePrecision() |
boolean |
equals(Object another)
This instance is equal to all instances of
R2DepthVarianceBufferDescription that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
area, magnificationFilter, minificationFilter, depthPrecision, depthVariancePrecision. |
com.io7m.jcanephora.core.JCGLTextureFilterMagnification |
magnificationFilter() |
com.io7m.jcanephora.core.JCGLTextureFilterMinification |
minificationFilter() |
static R2DepthVarianceBufferDescription |
of(com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
com.io7m.jcanephora.core.JCGLTextureFilterMagnification magnificationFilter,
com.io7m.jcanephora.core.JCGLTextureFilterMinification minificationFilter,
R2DepthPrecision depthPrecision,
R2DepthVariancePrecision depthVariancePrecision)
Construct a new immutable
R2DepthVarianceBufferDescription instance. |
String |
toString()
Prints the immutable value
R2DepthVarianceBufferDescription with attribute values. |
R2DepthVarianceBufferDescription |
withArea(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
Copy the current immutable object by setting a value for the
area attribute. |
R2DepthVarianceBufferDescription |
withDepthPrecision(R2DepthPrecision value)
Copy the current immutable object by setting a value for the
depthPrecision attribute. |
R2DepthVarianceBufferDescription |
withDepthVariancePrecision(R2DepthVariancePrecision value)
Copy the current immutable object by setting a value for the
depthVariancePrecision attribute. |
R2DepthVarianceBufferDescription |
withMagnificationFilter(com.io7m.jcanephora.core.JCGLTextureFilterMagnification value)
Copy the current immutable object by setting a value for the
magnificationFilter attribute. |
R2DepthVarianceBufferDescription |
withMinificationFilter(com.io7m.jcanephora.core.JCGLTextureFilterMinification value)
Copy the current immutable object by setting a value for the
minificationFilter attribute. |
public com.io7m.jareas.core.AreaInclusiveUnsignedLType area()
area in interface R2DepthVarianceBufferDescriptionTypearea in interface R2RenderTargetDescriptionTypearea attributepublic com.io7m.jcanephora.core.JCGLTextureFilterMagnification magnificationFilter()
magnificationFilter in interface R2DepthVarianceBufferDescriptionTypepublic com.io7m.jcanephora.core.JCGLTextureFilterMinification minificationFilter()
minificationFilter in interface R2DepthVarianceBufferDescriptionTypepublic R2DepthPrecision depthPrecision()
depthPrecision in interface R2DepthVarianceBufferDescriptionTypepublic R2DepthVariancePrecision depthVariancePrecision()
depthVariancePrecision in interface R2DepthVarianceBufferDescriptionTypepublic final R2DepthVarianceBufferDescription withArea(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
area attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for areathis objectpublic final R2DepthVarianceBufferDescription withMagnificationFilter(com.io7m.jcanephora.core.JCGLTextureFilterMagnification value)
magnificationFilter attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for magnificationFilterthis objectpublic final R2DepthVarianceBufferDescription withMinificationFilter(com.io7m.jcanephora.core.JCGLTextureFilterMinification value)
minificationFilter attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for minificationFilterthis objectpublic final R2DepthVarianceBufferDescription withDepthPrecision(R2DepthPrecision value)
depthPrecision attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for depthPrecisionthis objectpublic final R2DepthVarianceBufferDescription withDepthVariancePrecision(R2DepthVariancePrecision value)
depthVariancePrecision attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for depthVariancePrecisionthis objectpublic boolean equals(Object another)
R2DepthVarianceBufferDescription that have equal attribute values.public int hashCode()
area, magnificationFilter, minificationFilter, depthPrecision, depthVariancePrecision.public String toString()
R2DepthVarianceBufferDescription with attribute values.public static R2DepthVarianceBufferDescription of(com.io7m.jareas.core.AreaInclusiveUnsignedLType area, com.io7m.jcanephora.core.JCGLTextureFilterMagnification magnificationFilter, com.io7m.jcanephora.core.JCGLTextureFilterMinification minificationFilter, R2DepthPrecision depthPrecision, R2DepthVariancePrecision depthVariancePrecision)
R2DepthVarianceBufferDescription instance.area - The value for the area attributemagnificationFilter - The value for the magnificationFilter attributeminificationFilter - The value for the minificationFilter attributedepthPrecision - The value for the depthPrecision attributedepthVariancePrecision - The value for the depthVariancePrecision attributepublic static R2DepthVarianceBufferDescription copyOf(R2DepthVarianceBufferDescriptionType instance)
R2DepthVarianceBufferDescriptionType 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 R2DepthVarianceBufferDescription.Builder builder()
R2DepthVarianceBufferDescription.Copyright © 2017 <code@io7m.com> http://io7m.com