@Generated(value={"Immutables.generator","JCGLStencilStateType"}) public final class JCGLStencilState extends Object implements JCGLStencilStateType
| Modifier and Type | Class and Description |
|---|---|
static class |
JCGLStencilState.Builder
Builds instances of type
JCGLStencilState. |
| Modifier and Type | Method and Description |
|---|---|
static JCGLStencilState.Builder |
builder()
Creates a builder for
JCGLStencilState. |
boolean |
equals(Object another)
This instance is equal to all instances of
JCGLStencilState that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
stencilEnabled, stencilStrict, testFunctionFront, testFunctionBack, testMaskBack, testMaskFront, testReferenceBack, testReferenceFront, operationStencilFailBack, operationDepthFailBack, operationPassBack, operationStencilFailFront, operationDepthFailFront, operationPassFront, writeMaskFrontFaces, writeMaskBackFaces. |
static JCGLStencilState |
of(boolean stencilEnabled,
boolean stencilStrict,
JCGLStencilFunction testFunctionFront,
JCGLStencilFunction testFunctionBack,
int testMaskBack,
int testMaskFront,
int testReferenceBack,
int testReferenceFront,
JCGLStencilOperation operationStencilFailBack,
JCGLStencilOperation operationDepthFailBack,
JCGLStencilOperation operationPassBack,
JCGLStencilOperation operationStencilFailFront,
JCGLStencilOperation operationDepthFailFront,
JCGLStencilOperation operationPassFront,
int writeMaskFrontFaces,
int writeMaskBackFaces)
Construct a new immutable
JCGLStencilState instance. |
JCGLStencilOperation |
operationDepthFailBack() |
JCGLStencilOperation |
operationDepthFailFront() |
JCGLStencilOperation |
operationPassBack() |
JCGLStencilOperation |
operationPassFront() |
JCGLStencilOperation |
operationStencilFailBack() |
JCGLStencilOperation |
operationStencilFailFront() |
boolean |
stencilEnabled() |
boolean |
stencilStrict()
Enable or disable strict mode.
|
JCGLStencilFunction |
testFunctionBack() |
JCGLStencilFunction |
testFunctionFront() |
int |
testMaskBack() |
int |
testMaskFront() |
int |
testReferenceBack() |
int |
testReferenceFront() |
String |
toString()
Prints the immutable value
JCGLStencilState with attribute values. |
int |
writeMaskBackFaces() |
int |
writeMaskFrontFaces() |
public boolean stencilEnabled()
stencilEnabled in interface JCGLStencilStateTypetrue if stencilling is enabledpublic boolean stencilStrict()
stencilStrict in interface JCGLStencilStateTypetrue iff strict mode is enabledpublic JCGLStencilFunction testFunctionFront()
testFunctionFront in interface JCGLStencilStateTypepublic JCGLStencilFunction testFunctionBack()
testFunctionBack in interface JCGLStencilStateTypepublic int testMaskBack()
testMaskBack in interface JCGLStencilStateTypepublic int testMaskFront()
testMaskFront in interface JCGLStencilStateTypepublic int testReferenceBack()
testReferenceBack in interface JCGLStencilStateTypepublic int testReferenceFront()
testReferenceFront in interface JCGLStencilStateTypepublic JCGLStencilOperation operationStencilFailBack()
operationStencilFailBack in interface JCGLStencilStateTypepublic JCGLStencilOperation operationDepthFailBack()
operationDepthFailBack in interface JCGLStencilStateTypepublic JCGLStencilOperation operationPassBack()
operationPassBack in interface JCGLStencilStateTypepublic JCGLStencilOperation operationStencilFailFront()
operationStencilFailFront in interface JCGLStencilStateTypepublic JCGLStencilOperation operationDepthFailFront()
operationDepthFailFront in interface JCGLStencilStateTypepublic JCGLStencilOperation operationPassFront()
operationPassFront in interface JCGLStencilStateTypepublic int writeMaskFrontFaces()
writeMaskFrontFaces in interface JCGLStencilStateTypepublic int writeMaskBackFaces()
writeMaskBackFaces in interface JCGLStencilStateTypepublic boolean equals(Object another)
JCGLStencilState that have equal attribute values.public int hashCode()
stencilEnabled, stencilStrict, testFunctionFront, testFunctionBack, testMaskBack, testMaskFront, testReferenceBack, testReferenceFront, operationStencilFailBack, operationDepthFailBack, operationPassBack, operationStencilFailFront, operationDepthFailFront, operationPassFront, writeMaskFrontFaces, writeMaskBackFaces.public String toString()
JCGLStencilState with attribute values.public static JCGLStencilState of(boolean stencilEnabled, boolean stencilStrict, JCGLStencilFunction testFunctionFront, JCGLStencilFunction testFunctionBack, int testMaskBack, int testMaskFront, int testReferenceBack, int testReferenceFront, JCGLStencilOperation operationStencilFailBack, JCGLStencilOperation operationDepthFailBack, JCGLStencilOperation operationPassBack, JCGLStencilOperation operationStencilFailFront, JCGLStencilOperation operationDepthFailFront, JCGLStencilOperation operationPassFront, int writeMaskFrontFaces, int writeMaskBackFaces)
JCGLStencilState instance.stencilEnabled - The value for the stencilEnabled attributestencilStrict - The value for the stencilStrict attributetestFunctionFront - The value for the testFunctionFront attributetestFunctionBack - The value for the testFunctionBack attributetestMaskBack - The value for the testMaskBack attributetestMaskFront - The value for the testMaskFront attributetestReferenceBack - The value for the testReferenceBack attributetestReferenceFront - The value for the testReferenceFront attributeoperationStencilFailBack - The value for the operationStencilFailBack attributeoperationDepthFailBack - The value for the operationDepthFailBack attributeoperationPassBack - The value for the operationPassBack attributeoperationStencilFailFront - The value for the operationStencilFailFront attributeoperationDepthFailFront - The value for the operationDepthFailFront attributeoperationPassFront - The value for the operationPassFront attributewriteMaskFrontFaces - The value for the writeMaskFrontFaces attributewriteMaskBackFaces - The value for the writeMaskBackFaces attributepublic static JCGLStencilState.Builder builder()
JCGLStencilState.Copyright © 2017 <code@io7m.com> http://io7m.com