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() {}
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TContextShaderSource |
説明
シェーダーのソースを作成します。
Arch
は、ソース内のシェーダーのアーキテクチャを示します。
ACode
は、シェーダー内にロードされるソース コードを示します。
AVariables
は、ソース内のシェーダーの変数を示します。