ID3D10Device::GSGetShader method (d3d10.h)
Get the geometry shader currently set on the device.
Syntax
void GSGetShader(
[out] ID3D10GeometryShader **ppGeometryShader
);
Parameters
[out] ppGeometryShader
Type: ID3D10GeometryShader**
Address of a pointer to a geometry shader (see ID3D10GeometryShader) to be returned by the method.
Return value
None
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |
Library | D3D10.lib |