@Generated(value={"Immutables.generator","R2ShaderParametersViewType"}) public final class R2ShaderParametersView extends Object implements R2ShaderParametersViewType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2ShaderParametersView.Builder
Builds instances of type
R2ShaderParametersView. |
| Modifier and Type | Method and Description |
|---|---|
static R2ShaderParametersView.Builder |
builder()
Creates a builder for
R2ShaderParametersView. |
static R2ShaderParametersView |
copyOf(R2ShaderParametersViewType instance)
Creates an immutable copy of a
R2ShaderParametersViewType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2ShaderParametersView that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
observerMatrices, viewport. |
R2MatricesObserverValuesType |
observerMatrices() |
static R2ShaderParametersView |
of(R2MatricesObserverValuesType observerMatrices,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
Construct a new immutable
R2ShaderParametersView instance. |
String |
toString()
Prints the immutable value
R2ShaderParametersView with attribute values. |
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
viewport()
A specification of the viewport to which rendering is occurring.
|
R2ShaderParametersView |
withObserverMatrices(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
observerMatrices attribute. |
R2ShaderParametersView |
withViewport(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
Copy the current immutable object by setting a value for the
viewport attribute. |
public R2MatricesObserverValuesType observerMatrices()
observerMatrices in interface R2ShaderParametersViewTypepublic com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport()
viewport in interface R2ShaderParametersViewTypepublic final R2ShaderParametersView withObserverMatrices(R2MatricesObserverValuesType value)
observerMatrices attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for observerMatricesthis objectpublic final R2ShaderParametersView withViewport(com.io7m.jareas.core.AreaInclusiveUnsignedLType value)
viewport attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for viewportthis objectpublic boolean equals(Object another)
R2ShaderParametersView that have equal attribute values.public int hashCode()
observerMatrices, viewport.public String toString()
R2ShaderParametersView with attribute values.public static R2ShaderParametersView of(R2MatricesObserverValuesType observerMatrices, com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
R2ShaderParametersView instance.observerMatrices - The value for the observerMatrices attributeviewport - The value for the viewport attributepublic static R2ShaderParametersView copyOf(R2ShaderParametersViewType instance)
R2ShaderParametersViewType 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 R2ShaderParametersView.Builder builder()
R2ShaderParametersView.Copyright © 2017 <code@io7m.com> http://io7m.com