ID3D10EffectShaderVariable::GetGeometryShader method (d3d10effect.h)

Get a geometry shader.

Syntax

HRESULT GetGeometryShader(
  [in]  UINT                 ShaderIndex,
  [out] ID3D10GeometryShader **ppGS
);

Parameters

[in] ShaderIndex

Type: UINT

A zero-based index.

[out] ppGS

Type: ID3D10GeometryShader**

A pointer to a ID3D10GeometryShader Interface.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectShaderResourceVariable Interface

ID3D10EffectShaderVariable