Defines the values to use for specifying stencil actions.

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

Variables

@:value(cast 0)@:impl@:enuminlineread onlyDECREMENT_SATURATE:Context3DStencilAction = 0

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

@:value(cast 1)@:impl@:enuminlineread 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.

@:value(cast 2)@:impl@:enuminlineread onlyINCREMENT_SATURATE:Context3DStencilAction = 2

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

@:value(cast 3)@:impl@:enuminlineread 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.

@:value(cast 4)@:impl@:enuminlineread 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.

@:value(cast 5)@:impl@:enuminlineread onlyKEEP:Context3DStencilAction = 5

Keep the current stencil buffer value.

@:value(cast 6)@:impl@:enuminlineread onlySET:Context3DStencilAction = 6

Replace the stencil buffer value with the reference value.

@:value(cast 7)@:impl@:enuminlineread onlyZERO:Context3DStencilAction = 7

Set the stencil buffer value to 0.