FMX.Types3D.TStencilOp

From RAD Studio API Documentation
Jump to: navigation, search

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

Keep

Do not modify the stencil buffer.

Zero

Make the stencil buffer 0.

Replace

Replace the stencil buffer with the ref value from FMX.Types3D.TContext3D.SetStencilFunc.

Increase

Increase the stencil buffer by 1. The maximum value of the stencil buffer is 255.

Decrease

Decrease the stencil buffer by 1. The minimum value of the stencil buffer is 1.

Invert

Bitwise invert the bits of the stencil buffer.

See Also