@Generated(value={"Immutables.generator","R2ShaderFilterBoxBlurParametersType"}) public final class R2ShaderFilterBoxBlurParameters extends Object implements R2ShaderFilterBoxBlurParametersType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2ShaderFilterBoxBlurParameters.Builder
Builds instances of type
R2ShaderFilterBoxBlurParameters. |
| Modifier and Type | Method and Description |
|---|---|
float |
blurRadius() |
static R2ShaderFilterBoxBlurParameters.Builder |
builder()
Creates a builder for
R2ShaderFilterBoxBlurParameters. |
static R2ShaderFilterBoxBlurParameters |
copyOf(R2ShaderFilterBoxBlurParametersType instance)
Creates an immutable copy of a
R2ShaderFilterBoxBlurParametersType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2ShaderFilterBoxBlurParameters that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
texture, blurRadius. |
static R2ShaderFilterBoxBlurParameters |
of(R2Texture2DUsableType texture,
float blurRadius)
Construct a new immutable
R2ShaderFilterBoxBlurParameters instance. |
R2Texture2DUsableType |
texture() |
String |
toString()
Prints the immutable value
R2ShaderFilterBoxBlurParameters with attribute values. |
R2ShaderFilterBoxBlurParameters |
withBlurRadius(float value)
Copy the current immutable object by setting a value for the
blurRadius attribute. |
R2ShaderFilterBoxBlurParameters |
withTexture(R2Texture2DUsableType value)
Copy the current immutable object by setting a value for the
texture attribute. |
public R2Texture2DUsableType texture()
texture in interface R2ShaderFilterBoxBlurParametersTypepublic float blurRadius()
blurRadius in interface R2ShaderFilterBoxBlurParametersTypepublic final R2ShaderFilterBoxBlurParameters withTexture(R2Texture2DUsableType value)
texture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for texturethis objectpublic final R2ShaderFilterBoxBlurParameters withBlurRadius(float value)
blurRadius attribute.
A value strict bits equality used to prevent copying of the same value by returning this.value - A new value for blurRadiusthis objectpublic boolean equals(Object another)
R2ShaderFilterBoxBlurParameters that have equal attribute values.public int hashCode()
texture, blurRadius.public String toString()
R2ShaderFilterBoxBlurParameters with attribute values.public static R2ShaderFilterBoxBlurParameters of(R2Texture2DUsableType texture, float blurRadius)
R2ShaderFilterBoxBlurParameters instance.texture - The value for the texture attributeblurRadius - The value for the blurRadius attributepublic static R2ShaderFilterBoxBlurParameters copyOf(R2ShaderFilterBoxBlurParametersType instance)
R2ShaderFilterBoxBlurParametersType 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 R2ShaderFilterBoxBlurParameters.Builder builder()
R2ShaderFilterBoxBlurParameters.Copyright © 2017 <code@io7m.com> http://io7m.com