D3D10GetPixelShaderProfile function

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

Syntax

LPCSTR D3D10GetPixelShaderProfile(
  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