FMX.Types3D.TContextState
Delphi
TContextState = (
cs2DScene,
cs3DScene,
csZTestOn, csZTestOff,
csZWriteOn, csZWriteOff,
csAlphaBlendOn, csAlphaBlendOff,
csStencilOn, csStencilOff,
csColorWriteOn, csColorWriteOff,
csScissorOn, csScissorOff,
csFrontFace, csBackFace, csAllFace
);
C++
enum class DECLSPEC_DENUM TContextState : unsigned char { cs2DScene, cs3DScene, csZTestOn, csZTestOff, csZWriteOn, csZWriteOff, csAlphaBlendOn, csAlphaBlendOff, csStencilOn, csStencilOff, csColorWriteOn, csColorWriteOff, csScissorOn, csScissorOff, csFrontFace, csBackFace, csAllFace };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | FMX.Types3D |
Description
Enumeration of context types.
The following table lists the meanings of the elements in TContextState:
Value | Meaning |
---|---|
|
A 2D context screen matrix. |
|
A 3D context camera matrix. |
|
Lighting is on. |
|
Lighting is off. |
|
ZWrite testing is activated. |
|
ZWrite testing is deactivated. |
|
ZWrite is activated. |
|
ZWrite is deactivated. |
|
Alpha blending testing is activated. |
|
Alpha blending testing is deactivated. |
|
Alpha blending is activated. |
|
Alpha blending is deactivated. |
|
Stencil rendering is activated. |
|
Stencil rendering is deactivated. |
|
Color output is activated. |
|
Color output is deactivated. |
|
Front face of 3D objects rendering. |
|
Back face of 3D objects rendering. |
|
All faces of 3D objects rendering. |
|
Blending mode is set as additive blending. |
|
Blending mode is set as standard. |
|
Texture stretching is set to nearest neighbor. |
|
Texture stretching is set to linear. |
|
Texture modulation is disabled. |
|
Texture modulation is set to color replacing. |
|
Texture modulation is set to color modulation. |
|
3D shapes filling mode is set to wireframe (3D mesh). |
|
3D shapes filling mode is set to solid color. |
|
Shading is set to flat shading lighting. |
|
Shading is set to Gouraud shading lighting. |