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