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;
end;
C++
struct DECLSPEC_DRECORD TContextShaderSource
{
public:
TContextShaderArch Arch;
TContextShaderCode Code;
TContextShaderVariables Variables;
__fastcall TContextShaderSource(const TContextShaderArch Arch, System::Byte const *ACode, const int ACode_High, TContextShaderVariable const *AVariables, const int AVariables_High);
bool __fastcall IsDefined(void);
TContextShaderSource() {}
};
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
record struct |
public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | FMX.Types3D |
Description
Définit une source de shaders.
Valeur | Signification |
---|---|
|
Conserve l'architecture des shaders dans le source. |
|
Conserve un code source qui sera chargé dans un shader. |
|
Conserve les variables des shaders dans le source. |