PFND3DDDI_DRAWINDEXEDPRIMITIVE callback function (d3dumddi.h)

The DrawIndexedPrimitive function draws indexed primitives that the Microsoft Direct3D runtime has not transformed the index data in.

Syntax

PFND3DDDI_DRAWINDEXEDPRIMITIVE Pfnd3dddiDrawindexedprimitive;

HRESULT Pfnd3dddiDrawindexedprimitive(
  HANDLE hDevice,
  const D3DDDIARG_DRAWINDEXEDPRIMITIVE *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_DRAWINDEXEDPRIMITIVE structure that describes the indexed primitive to draw.

Return value

DrawIndexedPrimitive returns S_OK or an appropriate error result if the indexed primitive is not successfully drawn.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DRAWINDEXEDPRIMITIVE

D3DDDI_DEVICEFUNCS

DrawIndexedPrimitive2