D3D11_FUNCTION_DESC構造体 (d3d11shader.h)

関数について説明します。

構文

typedef struct _D3D11_FUNCTION_DESC {
  UINT              Version;
  LPCSTR            Creator;
  UINT              Flags;
  UINT              ConstantBuffers;
  UINT              BoundResources;
  UINT              InstructionCount;
  UINT              TempRegisterCount;
  UINT              TempArrayCount;
  UINT              DefCount;
  UINT              DclCount;
  UINT              TextureNormalInstructions;
  UINT              TextureLoadInstructions;
  UINT              TextureCompInstructions;
  UINT              TextureBiasInstructions;
  UINT              TextureGradientInstructions;
  UINT              FloatInstructionCount;
  UINT              IntInstructionCount;
  UINT              UintInstructionCount;
  UINT              StaticFlowControlCount;
  UINT              DynamicFlowControlCount;
  UINT              MacroInstructionCount;
  UINT              ArrayInstructionCount;
  UINT              MovInstructionCount;
  UINT              MovcInstructionCount;
  UINT              ConversionInstructionCount;
  UINT              BitwiseInstructionCount;
  D3D_FEATURE_LEVEL MinFeatureLevel;
  UINT64            RequiredFeatureFlags;
  LPCSTR            Name;
  INT               FunctionParameterCount;
  BOOL              HasReturn;
  BOOL              Has10Level9VertexShader;
  BOOL              Has10Level9PixelShader;
} D3D11_FUNCTION_DESC;

メンバー

Version

型: UINT

シェーダーのバージョン。

Creator

種類: LPCSTR

関数の発信元の名前。

Flags

型: UINT

ビットごとの OR 演算を使用して結合される D3DCOMPILE 定数 の組み合わせ。 結果の値は、シェーダーのコンパイルと解析を指定します。

ConstantBuffers

型: UINT

関数の定数バッファーの数。

BoundResources

型: UINT

関数のバインドされたリソースの数。

InstructionCount

型: UINT

関数に対して出力される命令の数。

TempRegisterCount

型: UINT

関数で使用される一時レジスタの数。

TempArrayCount

型: UINT

関数で使用される一時配列の数。

DefCount

型: UINT

関数に対して定義される定数の数。

DclCount

型: UINT

関数の宣言の数 (入力 + 出力)。

TextureNormalInstructions

型: UINT

関数の非分類テクスチャ命令の数。

TextureLoadInstructions

型: UINT

関数のテクスチャ読み込み命令の数。

TextureCompInstructions

型: UINT

関数のテクスチャ比較命令の数。

TextureBiasInstructions

型: UINT

関数のテクスチャ バイアス命令の数。

TextureGradientInstructions

型: UINT

関数のテクスチャ グラデーション命令の数。

FloatInstructionCount

型: UINT

関数で使用される浮動小数点演算命令の数。

IntInstructionCount

型: UINT

関数で使用される符号付き整数算術命令の数。

UintInstructionCount

型: UINT

関数で使用される符号なし整数算術命令の数。

StaticFlowControlCount

型: UINT

関数で使用される静的フロー制御命令の数。

DynamicFlowControlCount

型: UINT

関数で使用される動的フロー制御命令の数。

MacroInstructionCount

型: UINT

関数で使用されるマクロ命令の数。

ArrayInstructionCount

型: UINT

関数で使用される配列命令の数。

MovInstructionCount

型: UINT

関数で使用される mov 命令の数。

MovcInstructionCount

型: UINT

関数で使用される movc 命令の数。

ConversionInstructionCount

型: UINT

関数で使用される型変換命令の数。

BitwiseInstructionCount

型: UINT

関数で使用されるビットごとの算術命令の数。

MinFeatureLevel

種類: D3D_FEATURE_LEVEL

関数バイト コードの最小 Direct3D 機能レベル ターゲットを指定する、 D3D_FEATURE_LEVEL型指定された値。

RequiredFeatureFlags

型: UINT64

1 つ以上のシェーダー要件フラグの組み合わせを含む値。各フラグはシェーダーの要件を指定します。 既定値の 0 は、要件がないことを意味します。 値の一覧については、「 ID3D11ShaderReflection::GetRequiresFlags」を参照してください。

Name

種類: LPCSTR

関数の名前です。

FunctionParameterCount

型: INT

戻り値を含まない、関数シグネチャ内の論理パラメーターの数。

HasReturn

種類: BOOL

関数が値を返すかどうかを示します。 TRUE は 、値を返します。それ以外の場合は FALSE (サブルーチンです)。

Has10Level9VertexShader

種類: BOOL

Direct3D 10Level9 頂点シェーダー BLOB があるかどうかを示します。 TRUE は 、10Level9 頂点シェーダー BLOB があることを示します。それ以外の場合は FALSE

Has10Level9PixelShader

種類: BOOL

Direct3D 10Level9 ピクセル シェーダー BLOB があるかどうかを示します。 TRUE は 、10Level9 ピクセル シェーダー BLOB があることを示します。それ以外の場合は FALSE

要件

   
Header d3d11shader.h

関連項目

ID3D11FunctionReflection::GetDesc

シェーダー構造体