Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10Device::GSSetShader method

Set a geometry shader to the device.

Syntax


void GSSetShader(
  [in]  ID3D10GeometryShader *pShader
);

Parameters

pShader [in]

Type: ID3D10GeometryShader*

Pointer to a geometry shader (see ID3D10GeometryShader). Passing in NULL disables the shader for this pipeline stage.

Return value

Returns nothing.

Remarks

The method will not hold a reference to the interfaces passed in. For that reason, applications should be careful not to release an interface currently in use by the device.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Community Additions

Show:
© 2014 Microsoft