enum abstract Context3DStencilAction(Null<Int>)
package openfl.display3D
Available on all platforms
Defines the values to use for specifying stencil actions.
A stencil action specifies how the values in the stencil buffer should be changed.
Variables
inlineread onlyDECREMENT_SATURATE:Context3DStencilAction = 0
Decrement the stencil buffer value, clamping at 0, the minimum value.
inlineread onlyDECREMENT_WRAP:Context3DStencilAction = 1
Decrement the stencil buffer value. If the result is less than 0, the minimum value, then the buffer value is "wrapped around" to 255.
inlineread onlyINCREMENT_SATURATE:Context3DStencilAction = 2
Increment the stencil buffer value, clamping at 255, the maximum value.
inlineread onlyINCREMENT_WRAP:Context3DStencilAction = 3
Increment the stencil buffer value. If the result exceeds 255, the maximum value, then the buffer value is "wrapped around" to 0.
inlineread onlyINVERT:Context3DStencilAction = 4
Invert the stencil buffer value, bitwise.
For example, if the 8-bit binary number in the stencil buffer is: 11110000, then the value is changed to: 00001111.
inlineread onlySET:Context3DStencilAction = 6
Replace the stencil buffer value with the reference value.