Language version: | ActionScript 3.0 |
Defines the values to use for specifying stencil actions.
A stencil action specifies how the values in the stencil buffer should be changed.
public static const DECREMENT_SATURATE:String = "decrementSaturate"
Language version: | ActionScript 3.0 |
Decrement the stencil buffer value, clamping at 0, the minimum value.
public static const DECREMENT_WRAP:String = "decrementWrap"
Language version: | ActionScript 3.0 |
Decrement the stencil buffer value. If the result is less than 0,
the minimum value, then the buffer value is "wrapped around" to 255.
public static const INCREMENT_SATURATE:String = "incrementSaturate"
Language version: | ActionScript 3.0 |
Increment the stencil buffer value, clamping at 255, the maximum value.
public static const INCREMENT_WRAP:String = "incrementWrap"
Language version: | ActionScript 3.0 |
Increment the stencil buffer value. If the result exceeds 255,
the maximum value, then the buffer value is "wrapped around" to 0.
public static const INVERT:String = "invert"
Language version: | ActionScript 3.0 |
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
.
public static const KEEP:String = "keep"
Language version: | ActionScript 3.0 |
Keep the current stencil buffer value.
public static const SET:String = "set"
Language version: | ActionScript 3.0 |
Replace the stencil buffer value with the reference value.
public static const ZERO:String = "zero"
Language version: | ActionScript 3.0 |
Set the stencil buffer value to 0.
© 2004-2022 Adobe Systems Incorporated. All rights reserved.
Wed Sep 28 2022, 6:12 PM GMT+01:00