@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. |
JCGLStencilOperation |
getOperationDepthFailBack() |
JCGLStencilOperation |
getOperationDepthFailFront() |
JCGLStencilOperation |
getOperationPassBack() |
JCGLStencilOperation |
getOperationPassFront() |
JCGLStencilOperation |
getOperationStencilFailBack() |
JCGLStencilOperation |
getOperationStencilFailFront() |
boolean |
getStencilEnabled() |
boolean |
getStencilStrict()
Enable or disable strict mode.
|
JCGLStencilFunction |
getTestFunctionBack() |
JCGLStencilFunction |
getTestFunctionFront() |
int |
getTestMaskBack() |
int |
getTestMaskFront() |
int |
getTestReferenceBack() |
int |
getTestReferenceFront() |
int |
getWriteMaskBackFaces() |
int |
getWriteMaskFrontFaces() |
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. |
String |
toString()
Prints the immutable value
JCGLStencilState with attribute values. |
public boolean getStencilEnabled()
getStencilEnabled in interface JCGLStencilStateTypetrue if stencilling is enabledpublic boolean getStencilStrict()
getStencilStrict in interface JCGLStencilStateTypetrue iff strict mode is enabledpublic JCGLStencilFunction getTestFunctionFront()
getTestFunctionFront in interface JCGLStencilStateTypepublic JCGLStencilFunction getTestFunctionBack()
getTestFunctionBack in interface JCGLStencilStateTypepublic int getTestMaskBack()
getTestMaskBack in interface JCGLStencilStateTypepublic int getTestMaskFront()
getTestMaskFront in interface JCGLStencilStateTypepublic int getTestReferenceBack()
getTestReferenceBack in interface JCGLStencilStateTypepublic int getTestReferenceFront()
getTestReferenceFront in interface JCGLStencilStateTypepublic JCGLStencilOperation getOperationStencilFailBack()
getOperationStencilFailBack in interface JCGLStencilStateTypepublic JCGLStencilOperation getOperationDepthFailBack()
getOperationDepthFailBack in interface JCGLStencilStateTypepublic JCGLStencilOperation getOperationPassBack()
getOperationPassBack in interface JCGLStencilStateTypepublic JCGLStencilOperation getOperationStencilFailFront()
getOperationStencilFailFront in interface JCGLStencilStateTypepublic JCGLStencilOperation getOperationDepthFailFront()
getOperationDepthFailFront in interface JCGLStencilStateTypepublic JCGLStencilOperation getOperationPassFront()
getOperationPassFront in interface JCGLStencilStateTypepublic int getWriteMaskFrontFaces()
getWriteMaskFrontFaces in interface JCGLStencilStateTypepublic int getWriteMaskBackFaces()
getWriteMaskBackFaces 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 © 2016 <code@io7m.com> http://io7m.com