@Generated(value={"Immutables.generator","R2Texture2DStaticType"}) public final class R2Texture2DStatic extends Object implements R2Texture2DStaticType
| Modifier and Type | Class and Description |
|---|---|
static class |
R2Texture2DStatic.Builder
Builds instances of type
R2Texture2DStatic. |
| Modifier and Type | Method and Description |
|---|---|
static R2Texture2DStatic.Builder |
builder()
Creates a builder for
R2Texture2DStatic. |
static R2Texture2DStatic |
copyOf(R2Texture2DStaticType instance)
Creates an immutable copy of a
R2Texture2DStaticType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2Texture2DStatic that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
textureWritable. |
static R2Texture2DStatic |
of(com.io7m.jcanephora.core.JCGLTexture2DType textureWritable)
Construct a new immutable
R2Texture2DStatic instance. |
com.io7m.jcanephora.core.JCGLTexture2DType |
textureWritable() |
String |
toString()
Prints the immutable value
R2Texture2DStatic with attribute values. |
R2Texture2DStatic |
withTextureWritable(com.io7m.jcanephora.core.JCGLTexture2DType value)
Copy the current immutable object by setting a value for the
textureWritable attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdelete, isDeleted, matchTexture, texturepublic com.io7m.jcanephora.core.JCGLTexture2DType textureWritable()
textureWritable in interface R2Texture2DStaticTypetextureWritable in interface R2Texture2DTypetextureWritable attributepublic final R2Texture2DStatic withTextureWritable(com.io7m.jcanephora.core.JCGLTexture2DType value)
textureWritable attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for textureWritablethis objectpublic boolean equals(Object another)
R2Texture2DStatic that have equal attribute values.public int hashCode()
textureWritable.public String toString()
R2Texture2DStatic with attribute values.public static R2Texture2DStatic of(com.io7m.jcanephora.core.JCGLTexture2DType textureWritable)
R2Texture2DStatic instance.textureWritable - The value for the textureWritable attributepublic static R2Texture2DStatic copyOf(R2Texture2DStaticType instance)
R2Texture2DStaticType 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 R2Texture2DStatic.Builder builder()
R2Texture2DStatic.Copyright © 2017 <code@io7m.com> http://io7m.com