@Generated(value={"Immutables.generator","JCGLDepthStateType"}) public final class JCGLDepthState extends Object implements JCGLDepthStateType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCGLDepthState.Builder
Builds instances of type
JCGLDepthState. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLDepthState.Builder |
builder()
Creates a builder for
JCGLDepthState. |
JCGLDepthClamping |
depthClamp() |
JCGLDepthStrict |
depthStrict()
Enable or disable strict mode.
|
Optional<JCGLDepthFunction> |
depthTest() |
JCGLDepthWriting |
depthWrite() |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLDepthState that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
depthStrict, depthTest, depthWrite, depthClamp. |
static JCGLDepthState |
of(JCGLDepthStrict depthStrict,
Optional<JCGLDepthFunction> depthTest,
JCGLDepthWriting depthWrite,
JCGLDepthClamping depthClamp)
Construct a new immutable
JCGLDepthState instance. |
String |
toString()
Prints the immutable value
JCGLDepthState with attribute values. |
public JCGLDepthStrict depthStrict()
depthStrict in interface JCGLDepthStateTypeJCGLDepthStrict.DEPTH_STRICT_ENABLED iff strict mode is
enabledpublic Optional<JCGLDepthFunction> depthTest()
depthTest in interface JCGLDepthStateTypepublic JCGLDepthWriting depthWrite()
depthWrite in interface JCGLDepthStateTypeJCGLDepthWriting.DEPTH_WRITE_ENABLED if depth writing is
enabledpublic JCGLDepthClamping depthClamp()
depthClamp in interface JCGLDepthStateTypeJCGLDepthClamping.DEPTH_CLAMP_ENABLED if depth clamping is
enabledpublic boolean equals(Object another)
JCGLDepthState that have equal attribute values.public int hashCode()
depthStrict, depthTest, depthWrite, depthClamp.public String toString()
JCGLDepthState with attribute values.public static JCGLDepthState of(JCGLDepthStrict depthStrict, Optional<JCGLDepthFunction> depthTest, JCGLDepthWriting depthWrite, JCGLDepthClamping depthClamp)
JCGLDepthState instance.depthStrict - The value for the depthStrict attributedepthTest - The value for the depthTest attributedepthWrite - The value for the depthWrite attributedepthClamp - The value for the depthClamp attributepublic static JCGLDepthState.Builder builder()
JCGLDepthState.Copyright © 2017 <code@io7m.com> http://io7m.com