@Generated(value={"Immutables.generator","JCGLClearSpecificationType"}) public final class JCGLClearSpecification extends Object implements JCGLClearSpecificationType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCGLClearSpecification.Builder
Builds instances of type
JCGLClearSpecification. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLClearSpecification.Builder |
builder()
Creates a builder for
JCGLClearSpecification. |
Optional<com.io7m.jtensors.core.unparameterized.vectors.Vector4D> |
colorBufferClear() |
OptionalDouble |
depthBufferClear() |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLClearSpecification that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
colorBufferClear, depthBufferClear, stencilBufferClear, strictChecking. |
static JCGLClearSpecification |
of(Optional<com.io7m.jtensors.core.unparameterized.vectors.Vector4D> colorBufferClear,
OptionalDouble depthBufferClear,
OptionalInt stencilBufferClear,
boolean strictChecking)
Construct a new immutable
JCGLClearSpecification instance. |
OptionalInt |
stencilBufferClear() |
boolean |
strictChecking() |
String |
toString()
Prints the immutable value
JCGLClearSpecification with attribute values. |
public Optional<com.io7m.jtensors.core.unparameterized.vectors.Vector4D> colorBufferClear()
colorBufferClear in interface JCGLClearSpecificationTypepublic OptionalDouble depthBufferClear()
depthBufferClear in interface JCGLClearSpecificationTypepublic OptionalInt stencilBufferClear()
stencilBufferClear in interface JCGLClearSpecificationTypepublic boolean strictChecking()
strictChecking in interface JCGLClearSpecificationTypetrue if strict buffer checking is enabledpublic boolean equals(Object another)
JCGLClearSpecification that have equal attribute values.public int hashCode()
colorBufferClear, depthBufferClear, stencilBufferClear, strictChecking.public String toString()
JCGLClearSpecification with attribute values.public static JCGLClearSpecification of(Optional<com.io7m.jtensors.core.unparameterized.vectors.Vector4D> colorBufferClear, OptionalDouble depthBufferClear, OptionalInt stencilBufferClear, boolean strictChecking)
JCGLClearSpecification instance.colorBufferClear - The value for the colorBufferClear attributedepthBufferClear - The value for the depthBufferClear attributestencilBufferClear - The value for the stencilBufferClear attributestrictChecking - The value for the strictChecking attributepublic static JCGLClearSpecification.Builder builder()
JCGLClearSpecification.Copyright © 2017 <code@io7m.com> http://io7m.com