M - generic parameter M@Generated(value={"Modifiables.generator","R2ShaderParametersFilterType<M>"}) public final class R2ShaderParametersFilterMutable<M> extends Object implements R2ShaderParametersFilterType<M>
R2ShaderParametersFilterType type.
Use the create() static factory methods to create new instances.
Use the toImmutable() method to convert to canonical immutable instances.
R2ShaderParametersFilterMutable is not thread-safe
R2ShaderParametersFilter| Modifier and Type | Method and Description |
|---|---|
R2ShaderParametersFilterMutable<M> |
clear()
Clears the object by setting all attributes to their initial values.
|
static <M> R2ShaderParametersFilterMutable<M> |
create()
Construct a modifiable instance of
R2ShaderParametersFilterType. |
static <M> R2ShaderParametersFilterMutable<M> |
create(com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextMutableType textureUnitContext,
M values)
Construct a modifiable instance of
R2ShaderParametersFilterType. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2ShaderParametersFilterMutable that have equal attribute values. |
R2ShaderParametersFilterMutable<M> |
from(R2ShaderParametersFilterType<M> instance)
Fill this modifiable instance with attribute values from the provided
R2ShaderParametersFilterType instance. |
int |
hashCode()
Computes a hash code from attributes:
textureUnitContext, values. |
boolean |
isInitialized()
Returns
true if all required attributes are set, indicating that the object is initialized. |
R2ShaderParametersFilterMutable<M> |
setTextureUnitContext(com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextMutableType textureUnitContext)
Assigns a value to the
textureUnitContext attribute. |
R2ShaderParametersFilterMutable<M> |
setValues(M values)
Assigns a value to the
values attribute. |
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextMutableType |
textureUnitContext() |
boolean |
textureUnitContextIsSet()
Returns
true if the required attribute textureUnitContext is set. |
R2ShaderParametersFilter<M> |
toImmutable()
Converts to
R2ShaderParametersFilter. |
String |
toString()
Generates a string representation of this
R2ShaderParametersFilterType. |
R2ShaderParametersFilterMutable<M> |
unsetTextureUnitContext()
Reset an attribute to its initial value.
|
R2ShaderParametersFilterMutable<M> |
unsetValues()
Reset an attribute to its initial value.
|
M |
values() |
boolean |
valuesIsSet()
Returns
true if the required attribute values is set. |
public static <M> R2ShaderParametersFilterMutable<M> create(com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextMutableType textureUnitContext, M values)
R2ShaderParametersFilterType.M - generic parameter MtextureUnitContext - The value for the textureUnitContext attributevalues - The value for the values attributepublic static <M> R2ShaderParametersFilterMutable<M> create()
R2ShaderParametersFilterType.M - generic parameter Mpublic final com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextMutableType textureUnitContext()
textureUnitContext in interface R2ShaderParametersFilterType<M>public final M values()
values in interface R2ShaderParametersFilterType<M>public R2ShaderParametersFilterMutable<M> clear()
this for use in a chained invocationpublic R2ShaderParametersFilterMutable<M> from(R2ShaderParametersFilterType<M> instance)
R2ShaderParametersFilterType 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 R2ShaderParametersFilterMutable<M> setTextureUnitContext(com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextMutableType textureUnitContext)
textureUnitContext attribute.textureUnitContext - The value for textureUnitContextthis for use in a chained invocationpublic R2ShaderParametersFilterMutable<M> setValues(M values)
values attribute.values - The value for valuesthis for use in a chained invocationpublic final boolean textureUnitContextIsSet()
true if the required attribute textureUnitContext is set.true if setpublic final boolean valuesIsSet()
true if the required attribute values is set.true if setpublic final R2ShaderParametersFilterMutable<M> unsetTextureUnitContext()
this for use in a chained invocationpublic final R2ShaderParametersFilterMutable<M> unsetValues()
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 R2ShaderParametersFilter<M> toImmutable()
R2ShaderParametersFilter.public boolean equals(Object another)
R2ShaderParametersFilterMutable that have equal attribute values.
An uninitialized instance is equal only to itself.public int hashCode()
textureUnitContext, values.Copyright © 2017 <code@io7m.com> http://io7m.com