@Generated(value={"Immutables.generator","R2DepthOnlyBufferDescriptionType"}) public final class R2DepthOnlyBufferDescription extends Object implements R2DepthOnlyBufferDescriptionType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2DepthOnlyBufferDescription.Builder
Builds instances of type
R2DepthOnlyBufferDescription. |
| Modifier and Type | Method and Description |
|---|---|
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
area() |
static R2DepthOnlyBufferDescription.Builder |
builder()
Creates a builder for
R2DepthOnlyBufferDescription. |
static R2DepthOnlyBufferDescription |
copyOf(R2DepthOnlyBufferDescriptionType instance)
Creates an immutable copy of a
R2DepthOnlyBufferDescriptionType value. |
R2DepthPrecision |
depthPrecision() |
boolean |
equals(Object another)
This instance is equal to all instances of
R2DepthOnlyBufferDescription that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
depthPrecision, area. |
static R2DepthOnlyBufferDescription |
of(com.io7m.jareas.core.AreaInclusiveUnsignedLType area)
Construct a new immutable
R2DepthOnlyBufferDescription instance. |
String |
toString()
Prints the immutable value
R2DepthOnlyBufferDescription with attribute values. |
R2DepthOnlyBufferDescription |
withArea(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
Copy the current immutable object by setting a value for the
area attribute. |
R2DepthOnlyBufferDescription |
withDepthPrecision(R2DepthPrecision value)
Copy the current immutable object by setting a value for the
depthPrecision attribute. |
public R2DepthPrecision depthPrecision()
depthPrecision in interface R2DepthOnlyBufferDescriptionTypepublic com.io7m.jareas.core.AreaInclusiveUnsignedLType area()
area in interface R2RenderTargetDescriptionTypepublic final R2DepthOnlyBufferDescription 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 R2DepthOnlyBufferDescription 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 boolean equals(Object another)
R2DepthOnlyBufferDescription that have equal attribute values.public int hashCode()
depthPrecision, area.public String toString()
R2DepthOnlyBufferDescription with attribute values.public static R2DepthOnlyBufferDescription of(com.io7m.jareas.core.AreaInclusiveUnsignedLType area)
R2DepthOnlyBufferDescription instance.area - The value for the area attributepublic static R2DepthOnlyBufferDescription copyOf(R2DepthOnlyBufferDescriptionType instance)
R2DepthOnlyBufferDescriptionType 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 R2DepthOnlyBufferDescription.Builder builder()
R2DepthOnlyBufferDescription.Copyright © 2016 <code@io7m.com> http://io7m.com