FMX.Types3D.TContextShaderKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TContextShaderKind = (VertexShader, PixelShader);

C++

enum class DECLSPEC_DENUM TContextShaderKind : unsigned char { VertexShader, PixelShader };

Properties

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

Description

Enumerates the types of shaders.

TContextShaderKind has the following values:

Value Meaning

skVertexShader

The used shader is a vertex shader. Each vertex is processed. A vertex shader can manipulate properties that specify the position, texture, coordinates, color, and so on.

skPixelShader

The used shader is a pixel shader. The color and attributes of each pixel are processed. A pixel shader can manipulate and compute properties that specify the lighting, bump mapping, and so on.

See Also