@Generated(value={"Immutables.generator","R2TextureCubeStaticType"}) public final class R2TextureCubeStatic extends Object implements R2TextureCubeStaticType
Modifier and Type | Class and Description |
---|---|
static class |
R2TextureCubeStatic.Builder
Builds instances of type
R2TextureCubeStatic . |
Modifier and Type | Method and Description |
---|---|
static R2TextureCubeStatic.Builder |
builder()
Creates a builder for
R2TextureCubeStatic . |
static R2TextureCubeStatic |
copyOf(R2TextureCubeStaticType instance)
Creates an immutable copy of a
R2TextureCubeStaticType value. |
boolean |
equals(Object another)
This instance is equal to all instances of
R2TextureCubeStatic that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
textureWritable . |
static R2TextureCubeStatic |
of(com.io7m.jcanephora.core.JCGLTextureCubeType textureWritable)
Construct a new immutable
R2TextureCubeStatic instance. |
com.io7m.jcanephora.core.JCGLTextureCubeType |
textureWritable() |
String |
toString()
Prints the immutable value
R2TextureCubeStatic with attribute values. |
R2TextureCubeStatic |
withTextureWritable(com.io7m.jcanephora.core.JCGLTextureCubeType value)
Copy the current immutable object by setting a value for the
textureWritable attribute. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
delete, isDeleted, matchTexture, texture
wrap
public com.io7m.jcanephora.core.JCGLTextureCubeType textureWritable()
textureWritable
in interface R2TextureCubeStaticType
textureWritable
in interface R2TextureCubeType
textureWritable
attributepublic final R2TextureCubeStatic withTextureWritable(com.io7m.jcanephora.core.JCGLTextureCubeType 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)
R2TextureCubeStatic
that have equal attribute values.public int hashCode()
textureWritable
.public String toString()
R2TextureCubeStatic
with attribute values.public static R2TextureCubeStatic of(com.io7m.jcanephora.core.JCGLTextureCubeType textureWritable)
R2TextureCubeStatic
instance.textureWritable
- The value for the textureWritable
attributepublic static R2TextureCubeStatic copyOf(R2TextureCubeStaticType instance)
R2TextureCubeStaticType
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 R2TextureCubeStatic.Builder builder()
R2TextureCubeStatic
.Copyright © 2017 <code@io7m.com> http://io7m.com