A geometry-shader interface manages an executable program (a geometry shader) that controls the geometry-shader stage.
interface ID3D11GeometryShader : public ID3D11DeviceChild
This interface inherits from another interface but does not have additional members.
The geometry-shader interface has no methods; use HLSL to implement your shader functionality. All shaders are implemented from a common set of features referred to as the common-shader core..
To create a geometry shader interface, call either ID3D11Device::CreateGeometryShader or ID3D11Device::CreateGeometryShaderWithStreamOutput. Before using a geometry shader you must bind it to the device by calling ID3D11DeviceContext::GSSetShader.
This interface is defined in D3D11.h.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).