@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. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLClearSpecification that have equal attribute values. |
Optional<com.io7m.jtensors.VectorReadable4FType> |
getColorBufferClear() |
OptionalDouble |
getDepthBufferClear() |
OptionalInt |
getStencilBufferClear() |
boolean |
getStrictChecking() |
int |
hashCode()
Computes a hash code from attributes:
colorBufferClear, depthBufferClear, stencilBufferClear, strictChecking. |
static JCGLClearSpecification |
of(Optional<com.io7m.jtensors.VectorReadable4FType> colorBufferClear,
OptionalDouble depthBufferClear,
OptionalInt stencilBufferClear,
boolean strictChecking)
Construct a new immutable
JCGLClearSpecification instance. |
String |
toString()
Prints the immutable value
JCGLClearSpecification with attribute values. |
public Optional<com.io7m.jtensors.VectorReadable4FType> getColorBufferClear()
getColorBufferClear in interface JCGLClearSpecificationTypepublic OptionalDouble getDepthBufferClear()
getDepthBufferClear in interface JCGLClearSpecificationTypepublic OptionalInt getStencilBufferClear()
getStencilBufferClear in interface JCGLClearSpecificationTypepublic boolean getStrictChecking()
getStrictChecking 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.VectorReadable4FType> 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 © 2016 <code@io7m.com> http://io7m.com