ID3D11ShaderReflection::GetGSInputPrimitive 方法 (d3d11shader.h)

取得 geometry-shader input-primitive description。

Syntax

D3D_PRIMITIVE GetGSInputPrimitive();

傳回值

類型: D3D_PRIMITIVE

輸入基本類型描述。 請參閱 D3D_PRIMITIVE_TOPOLOGYD3D11_PRIMITIVE_TOPOLOGYD3D10_PRIMITIVE_TOPOLOGY

備註

這個方法的介面裝載于現用 DLL D3DCompiler_xx.dll。

需求

   
目標平台 Windows
標頭 d3d11shader.h
程式庫 D3DCompiler.lib
Dll D3DCompiler_47.dll

另請參閱

ID3D11ShaderReflection 介面