FMX.Types3D.TStencilFunc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TStencilFunc = (Never, Less, Lequal, Greater, Gequal, Equal, NotEqual, Always);

C++

enum class DECLSPEC_DENUM TStencilFunc : unsigned char { Never, Less, Lequal, Greater, Gequal, Equal, NotEqual, Always };

Properties

Type Visibility Source Unit Parent
enum public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D FMX.Types3D

Description

Enumeration of stencil functions.

The following table lists the meanings of the elements in TStencilFunc:

Value Meaning

Never

Testing will never succeed.

Less

Testing will succeed if (ref and mask) < (pixel and mask).

Lequal

Testing will succeed if (ref and mask) <= (pixel and mask).

Greater

Testing will succeed if (ref and mask) > (pixel and mask).

fsGequal

Testing will succeed if (ref and mask) >= (pixel and mask).

Equal

Testing will succeed if (ref and mask) = (pixel and mask).

NotEqual

Testing will succeed if (ref and mask) <> (pixel and mask).

Always

Testing will always succeed.

See Also