ID3D10GeometryShader interface (d3d10.h)
A geometry-shader interface manages an executable program (a geometry shader) that controls the geometry-shader stage.
Inheritance
The ID3D10GeometryShader interface inherits from the ID3D10DeviceChild interface.
Remarks
The geometry-shader interface has no methods; use HLSL to implement your shader functionality. All shaders in Direct3D 10 are implemented from a common set of features referred to as the common shader core.
To create a geometry shader interface, call either ID3D10Device::CreateGeometryShader or ID3D10Device::CreateGeometryShaderWithStreamOutput. Before using a geometry shader you must bind it to the device by calling ID3D10Device::GSSetShader.
This interface is defined in D3D10.h.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |