FMX.Types3D.TContextShaderVariable

提供:RAD Studio API Documentation

Delphi

TContextShaderVariable = record

C++

struct DECLSPEC_DRECORD TContextShaderVariable
{
public:
    System::UnicodeString Name;
    TContextShaderVariableKind Kind;
    int Index;
    int Size;
    TContextShaderKind ShaderKind;
    int TextureUnit;
    __fastcall TContextShaderVariable(const System::UnicodeString Name, const TContextShaderVariableKind Kind, const int Index, const int Size);
    TContextShaderVariable() {}
};

プロパティ

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

説明

シェーダ変数を定義するものです。


TContextShaderVariable の変数は、外部から頂点シェーダやフラグメント シェーダと通信するために使用されます。

値 意味

Name

変数の名前を保持します。

Kind

変数の種類を保持します。種類は TContextShaderVariableKind に列挙されています。

Index

変数の位置を保持します。

Size

変数のサイズを保持します。

TextureUnit

テクスチャのマッピング ユニットを保持します。このフィールドは実行時に設定されます。

関連項目