Primitive Drawing and State Changes

All Microsoft Direct3D graphics primitives and state changes are passed to the D3dDrawPrimitives2 callback in command and vertex buffers. The driver must parse these buffers and process all drawing and state change requests.

The following sections discuss the layout of command and vertex buffers and describe how the driver should process them:

Command and Vertex Buffers

Direct3D Command Buffers

Direct3D Vertex Buffers

Accelerated State Management