ID3D11DeviceContext::GSGetShader Method

Get the geometry shader currently set on the device.

Syntax

void GSGetShader(
  [out]      ID3D11GeometryShader **ppGeometryShader,
  [out]      ID3D11ClassInstance **ppClassInstances,
  [in, out]  UINT *pNumClassInstances
);

Parameter

Rückgabewert

Returns nothing.

Hinweise

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.

Anforderungen

Header

D3D11.h

Bibliothek

D3D11.lib

Siehe auch

ID3D11DeviceContext