FMX.Types3D.TContextShaderSource.Create
Delphi
constructor Create(const Arch: TContextShaderArch; const ACode: array of Byte; const AVariables: array of TContextShaderVariable);
C++
__fastcall TContextShaderSource(const TContextShaderArch Arch, const System::Byte *ACode, const int ACode_High, const TContextShaderVariable *AVariables, const int AVariables_High);
TContextShaderSource() {}
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TContextShaderSource |
Description
Creates a shader source.
Arch specifies the architecture of shaders within source.
ACode specifies the source code that will be loaded in a shader.
AVariables specifies the variables of shaders within source.