FMX.Types3D.TStencilOp
Delphi
TStencilOp = (Keep, Zero, Replace, Increase, Decrease, Invert);
C++
enum class DECLSPEC_DENUM TStencilOp : unsigned char { Keep, Zero, Replace, Increase, Decrease, Invert, soKeep _DEPRECATED_ATTRIBUTE3("Use TStencilOp.Keep") = 0, soZero _DEPRECATED_ATTRIBUTE3("Use TStencilOp.Zero") = 1, soReplace _DEPRECATED_ATTRIBUTE3("Use TStencilOp.Replace") = 2, soIncrease _DEPRECATED_ATTRIBUTE3("Use TStencilOp.Increase") = 3, soDecrease _DEPRECATED_ATTRIBUTE3("Use TStencilOp.Decrease") = 4, soInvert _DEPRECATED_ATTRIBUTE3("Use TStencilOp.Invert") = 5 };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | FMX.Types3D |
Description
Enumeration of stencil operations.
The following table lists the meanings of the elements in TStencilOp:
Value | Meaning |
---|---|
|
Do not modify the stencil buffer. |
|
Make the stencil buffer 0. |
|
Replace the stencil buffer with the |
|
Increase the stencil buffer by 1. The maximum value of the stencil buffer is 255. |
|
Decrease the stencil buffer by 1. The minimum value of the stencil buffer is 1. |
|
Bitwise invert the bits of the stencil buffer. |