ID3D10GeometryShader interface

A geometry-shader interface manages an executable program (a geometry shader) that controls the geometry-shader stage.

Members

The ID3D10GeometryShader interface inherits from ID3D10DeviceChild but does not have additional members.

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

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10DeviceChild
Shader Interfaces

 

 

Show: