@Generated(value={"Modifiables.generator","R2ShaderParametersViewType"}) public final class R2ShaderParametersViewMutable extends Object implements R2ShaderParametersViewType
R2ShaderParametersViewType type.
Use the create() static factory methods to create new instances.
Use the toImmutable() method to convert to canonical immutable instances.
R2ShaderParametersViewMutable is not thread-safe
R2ShaderParametersView| Modifier and Type | Method and Description |
|---|---|
R2ShaderParametersViewMutable |
clear()
Clears the object by setting all attributes to their initial values.
|
static R2ShaderParametersViewMutable |
create()
Construct a modifiable instance of
R2ShaderParametersViewType. |
static R2ShaderParametersViewMutable |
create(R2MatricesObserverValuesType observerMatrices,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
Construct a modifiable instance of
R2ShaderParametersViewType. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2ShaderParametersViewMutable that have equal attribute values. |
R2ShaderParametersViewMutable |
from(R2ShaderParametersViewType instance)
Fill this modifiable instance with attribute values from the provided
R2ShaderParametersViewType instance. |
int |
hashCode()
Computes a hash code from attributes:
observerMatrices, viewport. |
boolean |
isInitialized()
Returns
true if all required attributes are set, indicating that the object is initialized. |
R2MatricesObserverValuesType |
observerMatrices() |
boolean |
observerMatricesIsSet()
Returns
true if the required attribute observerMatrices is set. |
R2ShaderParametersViewMutable |
setObserverMatrices(R2MatricesObserverValuesType observerMatrices)
Assigns a value to the
observerMatrices attribute. |
R2ShaderParametersViewMutable |
setViewport(com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
Assigns a value to the
viewport attribute. |
R2ShaderParametersView |
toImmutable()
Converts to
R2ShaderParametersView. |
String |
toString()
Generates a string representation of this
R2ShaderParametersViewType. |
R2ShaderParametersViewMutable |
unsetObserverMatrices()
Reset an attribute to its initial value.
|
R2ShaderParametersViewMutable |
unsetViewport()
Reset an attribute to its initial value.
|
com.io7m.jareas.core.AreaInclusiveUnsignedLType |
viewport()
A specification of the viewport to which rendering is occurring.
|
boolean |
viewportIsSet()
Returns
true if the required attribute viewport is set. |
public static R2ShaderParametersViewMutable create(R2MatricesObserverValuesType observerMatrices, com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
R2ShaderParametersViewType.observerMatrices - The value for the observerMatrices attributeviewport - The value for the viewport attributepublic static R2ShaderParametersViewMutable create()
R2ShaderParametersViewType.public final R2MatricesObserverValuesType observerMatrices()
observerMatrices in interface R2ShaderParametersViewTypepublic final com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport()
viewport in interface R2ShaderParametersViewTypepublic R2ShaderParametersViewMutable clear()
this for use in a chained invocationpublic R2ShaderParametersViewMutable from(R2ShaderParametersViewType instance)
R2ShaderParametersViewType instance.
Regular attribute values will be overridden, i.e. replaced with ones of an instance.
Any of the instance's absent optional values will not be copied (will not override current values).instance - The instance from which to copy valuesthis for use in a chained invocationpublic R2ShaderParametersViewMutable setObserverMatrices(R2MatricesObserverValuesType observerMatrices)
observerMatrices attribute.observerMatrices - The value for observerMatricesthis for use in a chained invocationpublic R2ShaderParametersViewMutable setViewport(com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
viewport attribute.viewport - The value for viewportthis for use in a chained invocationpublic final boolean observerMatricesIsSet()
true if the required attribute observerMatrices is set.true if setpublic final boolean viewportIsSet()
true if the required attribute viewport is set.true if setpublic final R2ShaderParametersViewMutable unsetObserverMatrices()
this for use in a chained invocationpublic final R2ShaderParametersViewMutable unsetViewport()
this for use in a chained invocationpublic final boolean isInitialized()
true if all required attributes are set, indicating that the object is initialized.true if setpublic final R2ShaderParametersView toImmutable()
R2ShaderParametersView.public boolean equals(Object another)
R2ShaderParametersViewMutable that have equal attribute values.
An uninitialized instance is equal only to itself.public int hashCode()
observerMatrices, viewport.Copyright © 2017 <code@io7m.com> http://io7m.com