@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. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLDepthState that have equal attribute values. |
JCGLDepthClamping |
getDepthClamp() |
JCGLDepthStrict |
getDepthStrict()
Enable or disable strict mode.
|
Optional<JCGLDepthFunction> |
getDepthTest() |
JCGLDepthWriting |
getDepthWrite() |
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 getDepthStrict()
getDepthStrict in interface JCGLDepthStateTypeJCGLDepthStrict.DEPTH_STRICT_ENABLED iff strict mode is
enabledpublic Optional<JCGLDepthFunction> getDepthTest()
getDepthTest in interface JCGLDepthStateTypepublic JCGLDepthWriting getDepthWrite()
getDepthWrite in interface JCGLDepthStateTypeJCGLDepthWriting.DEPTH_WRITE_ENABLED if depth writing is
enabledpublic JCGLDepthClamping getDepthClamp()
getDepthClamp 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 © 2016 <code@io7m.com> http://io7m.com