ID3D10Device::GSSetShader method (d3d10.h)
Set a geometry shader to the device.
Syntax
void GSSetShader(
[in] ID3D10GeometryShader *pShader
);
Parameters
[in] pShader
Type: ID3D10GeometryShader*
Pointer to a geometry shader (see ID3D10GeometryShader). Passing in NULL disables the shader for this pipeline stage.
Return value
None
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |
Library | D3D10.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for