FMX.Types3D.TContextShaderSource
Delphi
TContextShaderSource = record
Arch: TContextShaderArch;
Code: TContextShaderCode;
Variables: TContextShaderVariables;
constructor Create(const Arch: TContextShaderArch; const ACode: array of Byte;
const AVariables: array of TContextShaderVariable);
function IsDefined: Boolean;
function FindVariable(const AName: String; out AShaderVariable: TContextShaderVariable): Boolean;
end;
C++
struct DECLSPEC_DRECORD TContextShaderSource
{
public:
TContextShaderArch Arch;
TContextShaderCode Code;
TContextShaderVariables Variables;
__fastcall TContextShaderSource(const TContextShaderArch Arch, const System::Byte *ACode, const int ACode_High, const TContextShaderVariable *AVariables, const int AVariables_High);
bool __fastcall IsDefined();
bool __fastcall FindVariable(const System::UnicodeString AName, /* out */ TContextShaderVariable &AShaderVariable);
TContextShaderSource() {}
};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
record struct |
public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | FMX.Types3D |
Beschreibung
Definiert eine Quelle von Schattierern.
Wert | Bedeutung |
---|---|
|
Enthält die Architektur von Schattierern im Quellcode. |
|
Enthält Quellcode, der in einen Schattierer geladen wird. |
|
Enthält Variablen von Schattierern im Quellcode. |