PFND3DDDI_DRAWPRIMITIVE2 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_DRAWPRIMITIVE2 Pfnd3dddiDrawprimitive2;

HRESULT Pfnd3dddiDrawprimitive2(
  HANDLE hDevice,
  const D3DDDIARG_DRAWPRIMITIVE2 *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_drawprimitive2)

PFND3DDDI_DRAWPRIMITIVE2 callback function

Description

The DrawPrimitive2 function draws nonindexed primitives in which the Microsoft Direct3D runtime has transformed the vertex data.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_DRAWPRIMITIVE2 structure that describes the primitive to draw.

Return value

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

Remarks

Stream zero contains transform vertices and is the only stream that should be accessed.

See also

D3DDDIARG_DRAWPRIMITIVE2

D3DDDI_DEVICEFUNCS