FMX.Types3D.TContextShaderSource

提供: RAD Studio API Documentation
移動先: 案内検索

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() {}
};

プロパティ

種類 可視性 ソース ユニット
record
struct
public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D FMX.Types3D

説明

シェーダのソースを定義するものです。


意味

Arch

シェーダのアーキテクチャをソース内に保持します。

Code

シェーダに読み込まれるソース コードを保持します。

Variables

シェーダの変数をソース内に保持します。

関連項目