D3D10GetPixelShaderProfile function (d3d10shader.h)

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

Syntax

LPCSTR D3D10GetPixelShaderProfile(
  [in] ID3D10Device *pDevice
);

Parameters

[in] pDevice

Type: ID3D10Device*

Pointer to the device (see ID3D10Device Interface).

Return value

Type: LPCSTR

The shader profile.

Requirements

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

See also

Shader Functions