Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Mode = Mode (Side Function) (Side Operation)
- data Side a
- data Function = Function FunctionType Int Word
- data FunctionType
- = Never
- | Always
- | Less
- | LessOrEqual
- | Greater
- | GreaterOrEqual
- | Equal
- | NotEqual
- data Operation = Operation OperationType OperationType OperationType
- data OperationType
Documentation
Function type, fragment stencil value and mask.
data FunctionType Source #
Operation to perform between the masked fragment stencil value and the masked destination stencil value.
Never | Never pass. |
Always | Always pass. |
Less | < |
LessOrEqual | <= |
Greater | |
GreaterOrEqual | = |
Equal | == |
NotEqual | /= |
Operations to perform if the stencil test fails, if the stencil test passes but the depth test fails, and if both the stencil test and the depth test pass.
data OperationType Source #
Operation to perform to the stencil value in the buffer.