@Generated(value={"Immutables.generator","R2LightBufferDescriptionType"}) public final class R2LightBufferDescription extends Object implements R2LightBufferDescriptionType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2LightBufferDescription.Builder
Builds instances of type
R2LightBufferDescription. |
| Modifier and Type | Method and Description |
|---|---|
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
area() |
static R2LightBufferDescription.Builder |
builder()
Creates a builder for
R2LightBufferDescription. |
R2LightBufferComponents |
components() |
static R2LightBufferDescription |
copyOf(R2LightBufferDescriptionType instance)
Creates an immutable copy of a
R2LightBufferDescriptionType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2LightBufferDescription that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
area, components. |
static R2LightBufferDescription |
of(com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
R2LightBufferComponents components)
Construct a new immutable
R2LightBufferDescription instance. |
String |
toString()
Prints the immutable value
R2LightBufferDescription with attribute values. |
R2LightBufferDescription |
withArea(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
Copy the current immutable object by setting a value for the
area attribute. |
R2LightBufferDescription |
withComponents(R2LightBufferComponents value)
Copy the current immutable object by setting a value for the
components attribute. |
public com.io7m.jareas.core.AreaInclusiveUnsignedLType area()
area in interface R2LightBufferDescriptionTypearea in interface R2RenderTargetDescriptionTypearea attributepublic R2LightBufferComponents components()
components in interface R2LightBufferDescriptionTypepublic final R2LightBufferDescription 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 R2LightBufferDescription withComponents(R2LightBufferComponents value)
components attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for componentsthis objectpublic boolean equals(Object another)
R2LightBufferDescription that have equal attribute values.public int hashCode()
area, components.public String toString()
R2LightBufferDescription with attribute values.public static R2LightBufferDescription of(com.io7m.jareas.core.AreaInclusiveUnsignedLType area, R2LightBufferComponents components)
R2LightBufferDescription instance.area - The value for the area attributecomponents - The value for the components attributepublic static R2LightBufferDescription copyOf(R2LightBufferDescriptionType instance)
R2LightBufferDescriptionType 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 R2LightBufferDescription.Builder builder()
R2LightBufferDescription.Copyright © 2016 <code@io7m.com> http://io7m.com