Expand Minimize

ID3D10Device::GSGetShader method

Get the geometry shader currently set on the device.

Syntax


void GSGetShader(
  [out]  ID3D10GeometryShader **ppGeometryShader
);

Parameters

ppGeometryShader [out]

Type: ID3D10GeometryShader**

Address of a pointer to a geometry shader (see ID3D10GeometryShader) to be returned by the method.

Return value

Returns nothing.

Remarks

Any returned interfaces will have their reference count incremented by one. Applications should call IUnknown::Release on the returned interfaces when they are no longer needed to avoid memory leaks.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft