FMX.Types3D.TContextShaderKind
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 |
---|---|
|
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. |
|
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. |