FMX.Types3D.TContextShaderVariable
Delphi
TContextShaderVariable = record
C++
struct DECLSPEC_DRECORD TContextShaderVariable
{
public:
System::UnicodeString Name;
TContextShaderVariableKind Kind;
int Index;
int Size;
TContextShaderKind ShaderKind;
int TextureUnit;
__fastcall TContextShaderVariable(const System::UnicodeString Name, const TContextShaderVariableKind Kind, const int Index, const int Size);
TContextShaderVariable() {}
};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | FMX.Types3D |
Description
Defines a shader variable.
TContextShaderVariable variables are used to communicate with vertex or fragment shaders from outside.
Value | Meaning |
---|---|
|
Keeps the name of the variable. |
|
Keeps the type of the variable. The types are enumerate by TContextShaderVariableKind. |
|
Keeps the location of the variable. |
|
Keeps the size of the variable. |
|
Keeps the mapping unit of textures. This field is filled at run time. |