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() {}
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TContextShaderSource |
Description
Crée une source de shader.
Arch
spécifie l'architecture des shaders dans le source.
ACode
spécifie le code source qui sera chargé dans un shader.
AVariables
spécifie les variables des shaders dans le source.