ID3D10ShaderReflection1::GetGSInputPrimitive method (d3d10_1shader.h)

Gets the geometry-shader input-primitive description.

Syntax

HRESULT GetGSInputPrimitive(
  [in] D3D10_PRIMITIVE *pPrim
);

Parameters

[in] pPrim

Type: D3D10_PRIMITIVE*

A pointer to the input-primitive type (see D3D10_PRIMITIVE).

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Remarks

This method requires Windows Vista Service Pack 1.

Requirements

Requirement Value
Target Platform Windows
Header d3d10_1shader.h

See also

ID3D10ShaderReflection1 Interface