ID3D11ShaderReflection インターフェイス (d3d11shader.h)

シェーダー リフレクション インターフェイスは、シェーダー情報にアクセスします。

継承

ID3D11ShaderReflection インターフェイスは、IUnknown インターフェイスから継承します。 ID3D11ShaderReflection には、次の種類のメンバーもあります。

メソッド

ID3D11ShaderReflection インターフェイスには、これらのメソッドがあります。

 
ID3D11ShaderReflection::GetBitwiseInstructionCount

ビットごとの命令の数を取得します。 (ID3D11ShaderReflection.GetBitwiseInstructionCount)
ID3D11ShaderReflection::GetConstantBufferByIndex

ID3D11ShaderReflection::GetConstantBufferByIndex (d3d11shader.h) メソッドは、インデックスによって定数バッファーを取得します。
ID3D11ShaderReflection::GetConstantBufferByName

名前で定数バッファーを取得します。 (ID3D11ShaderReflection.GetConstantBufferByName)
ID3D11ShaderReflection::GetConversionInstructionCount

変換命令の数を取得します。 (ID3D11ShaderReflection.GetConversionInstructionCount)
ID3D11ShaderReflection::GetDesc

シェーダーの説明を取得します。 (ID3D11ShaderReflection.GetDesc)
ID3D11ShaderReflection::GetGSInputPrimitive

geometry-shader input-primitive description を取得します。 (ID3D11ShaderReflection.GetGSInputPrimitive)
ID3D11ShaderReflection::GetInputParameterDesc

シェーダーの入力パラメーターの説明を取得します。 (ID3D11ShaderReflection.GetInputParameterDesc)
ID3D11ShaderReflection::GetMinFeatureLevel

最小機能レベルを取得します。 (ID3D11ShaderReflection.GetMinFeatureLevel)
ID3D11ShaderReflection::GetMovcInstructionCount

Movc 命令の数を取得します。 (ID3D11ShaderReflection.GetMovcInstructionCount)
ID3D11ShaderReflection::GetMovInstructionCount

Mov 命令の数を取得します。 (ID3D11ShaderReflection.GetMovInstructionCount)
ID3D11ShaderReflection::GetNumInterfaceSlots

シェーダー内のインターフェイス スロットの数を取得します。 (ID3D11ShaderReflection.GetNumInterfaceSlots)
ID3D11ShaderReflection::GetOutputParameterDesc

シェーダーの出力パラメーターの説明を取得します。 (ID3D11ShaderReflection.GetOutputParameterDesc)
ID3D11ShaderReflection::GetPatchConstantParameterDesc

シェーダーのパッチ定数パラメーターの説明を取得します。
ID3D11ShaderReflection::GetRequiresFlags

シェーダーの要件を示すフラグのグループを取得します。 (ID3D11ShaderReflection.GetRequiresFlags)
ID3D11ShaderReflection::GetResourceBindingDesc

リソースをシェーダーにバインドする方法の説明を取得します。 (ID3D11ShaderReflection.GetResourceBindingDesc)
ID3D11ShaderReflection::GetResourceBindingDescByName

リソースをシェーダーにバインドする方法の説明を取得します。 (ID3D11ShaderReflection.GetResourceBindingDescByName)
ID3D11ShaderReflection::GetThreadGroupSize

シェーダーのスレッド グループ グリッドの X、Y、Z ディメンションのサイズをスレッド単位で取得します。 (ID3D11ShaderReflection.GetThreadGroupSize)
ID3D11ShaderReflection::GetVariableByName

名前で変数を取得します。 (ID3D11ShaderReflection.GetVariableByName)
ID3D11ShaderReflection::IsSampleFrequencyShader

シェーダーがサンプル頻度シェーダーであるかどうかを示します。 (ID3D11ShaderReflection.IsSampleFrequencyShader)

注釈

シェーダーの ID3D11ShaderReflection インターフェイスは、D3DReflect を使用して取得できます。 次のコードは、シェーダーから ID3D11ShaderReflection を 取得する方法を示しています。

pd3dDevice->CreatePixelShader( pPixelShaderBuffer->GetBufferPointer(),
                               pPixelShaderBuffer->GetBufferSize(), g_pPSClassLinkage, &g_pPixelShader );

ID3D11ShaderReflection* pReflector = NULL; 
D3DReflect( pPixelShaderBuffer->GetBufferPointer(), pPixelShaderBuffer->GetBufferSize(), 
            IID_ID3D11ShaderReflection, (void**) &pReflector);

要件

要件
サポートされている最小のクライアント Windows 7 [デスクトップ アプリ |UWP アプリ]
サポートされている最小のサーバー Windows Server 2008 R2 [デスクトップ アプリ |UWP アプリ]
対象プラットフォーム Windows
ヘッダー d3d11shader.h

関連項目

IUnknown

シェーダー インターフェイス