public static final class R2TextureCubeStatic.Builder extends Object
R2TextureCubeStatic.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
R2TextureCubeStatic |
build()
Builds a new
R2TextureCubeStatic. |
R2TextureCubeStatic.Builder |
from(R2TextureCubeStaticType instance)
Fill a builder with attribute values from the provided
com.io7m.r2.core.R2TextureCubeStaticType instance. |
R2TextureCubeStatic.Builder |
from(R2TextureCubeType instance)
Fill a builder with attribute values from the provided
com.io7m.r2.core.R2TextureCubeType instance. |
R2TextureCubeStatic.Builder |
setTextureWritable(com.io7m.jcanephora.core.JCGLTextureCubeType textureWritable)
Initializes the value for the
textureWritable attribute. |
public final R2TextureCubeStatic.Builder from(R2TextureCubeStaticType instance)
com.io7m.r2.core.R2TextureCubeStaticType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final R2TextureCubeStatic.Builder from(R2TextureCubeType instance)
com.io7m.r2.core.R2TextureCubeType instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final R2TextureCubeStatic.Builder setTextureWritable(com.io7m.jcanephora.core.JCGLTextureCubeType textureWritable)
textureWritable attribute.textureWritable - The value for textureWritablethis builder for use in a chained invocationpublic R2TextureCubeStatic build()
R2TextureCubeStatic.IllegalStateException - if any required attributes are missingCopyright © 2017 <code@io7m.com> http://io7m.com