FMX.Types3D.TContextState

From RAD Studio API Documentation
Jump to: navigation, search

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

cs2DScene

A 2D context screen matrix.

cs3DScene

A 3D context camera matrix.

csLightOn

Lighting is on.

csLightOff

Lighting is off.

csZTestOn

ZWrite testing is activated.

csZTestOff

ZWrite testing is deactivated.

csZWriteOn

ZWrite is activated.

csZWriteOff

ZWrite is deactivated.

csAlphaTestOn

Alpha blending testing is activated.

csAlphaTestOff

Alpha blending testing is deactivated.

csAlphaBlendOn

Alpha blending is activated.

csAlphaBlendOff

Alpha blending is deactivated.

csStencilOn

Stencil rendering is activated.

csStencilOff

Stencil rendering is deactivated.

csColorWriteOn

Color output is activated.

csColorWriteOff

Color output is deactivated.

csFrontFace

Front face of 3D objects rendering.

csBackFace

Back face of 3D objects rendering.

csAllFace

All faces of 3D objects rendering.

csBlendAdditive

Blending mode is set as additive blending.

csBlendNormal

Blending mode is set as standard.

csTexNearest

Texture stretching is set to nearest neighbor.

csTexLinear

Texture stretching is set to linear.

csTexDisable

Texture modulation is disabled.

csTexReplace

Texture modulation is set to color replacing.

csTexModulate

Texture modulation is set to color modulation.

csFrame

3D shapes filling mode is set to wireframe (3D mesh).

csSolid

3D shapes filling mode is set to solid color.

csFlat

Shading is set to flat shading lighting.

csGouraud

Shading is set to Gouraud shading lighting.

See Also