20 #ifndef ANTKEEPER_GL_STENCIL_OP_HPP
21 #define ANTKEEPER_GL_STENCIL_OP_HPP
Graphics library interface.
stencil_op
Stencil comparison functions.
@ keep
Keeps the current value.
@ increment_and_clamp
Increments the current value and clamps to the maximum representable unsigned value.
@ invert
Bitwise-inverts the current value.
@ increment_and_wrap
Increments the current value and wraps to 0 when the maximum value would have been exceeded.
@ decrement_and_wrap
Decrements the current value and wraps to the maximum possible value when the value would go below 0.
@ replace
Sets the value to reference.
@ zero
Sets the value to 0.
@ decrement_and_clamp
Decrements the current value and clamps to 0.