Blt
Expand Minimize

DrawIndexedPrimitive routine

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

Syntax


PFND3DDDI_DRAWINDEXEDPRIMITIVE DrawIndexedPrimitive;

__checkReturn HRESULT APIENTRY DrawIndexedPrimitive(
  _In_  HANDLE hDevice,
  _In_  const D3DDDIARG_DRAWINDEXEDPRIMITIVE *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DRAWINDEXEDPRIMITIVE
D3DDDI_DEVICEFUNCS
DrawIndexedPrimitive2

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft