Defines the values to use for specifying stencil actions.

A stencil action specifies how the values in the stencil buffer should be changed.

Variables

@:enum@:implinlineread onlyDECREMENT_SATURATE:Context3DStencilAction

Decrement the stencil buffer value, clamping at 0, the minimum value.

@:enum@:implinlineread onlyDECREMENT_WRAP:Context3DStencilAction

Decrement the stencil buffer value. If the result is less than 0, the minimum value, then the buffer value is "wrapped around" to 255.

@:enum@:implinlineread onlyINCREMENT_SATURATE:Context3DStencilAction

Increment the stencil buffer value, clamping at 255, the maximum value.

@:enum@:implinlineread onlyINCREMENT_WRAP:Context3DStencilAction

Increment the stencil buffer value. If the result exceeds 255, the maximum value, then the buffer value is "wrapped around" to 0.

@:enum@:implinlineread onlyINVERT:Context3DStencilAction

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.

@:enum@:implinlineread onlyKEEP:Context3DStencilAction

Keep the current stencil buffer value.

@:enum@:implinlineread onlySET:Context3DStencilAction

Replace the stencil buffer value with the reference value.

@:enum@:implinlineread onlyZERO:Context3DStencilAction

Set the stencil buffer value to 0.