D3D10GetGeometryShaderProfile function

Get the geometry shader profile best suited to a given device.

Syntax

LPCSTR D3D10GetGeometryShaderProfile(
  ID3D10Device *pDevice
);

Parameters

pDevice

Type: ID3D10Device*

Pointer to the device (see ID3D10Device Interface).

Return Value

Type: LPCSTR

The shader profile.

Requirements

   
Target Platform Windows
Header d3d10shader.h
Library D3D10.lib
DLL D3D10.dll

See Also

Shader Functions