Pool and Usage for Vertex Buffers
A version of this page is also available for
4/8/2010
You can create vertex buffers with the IDirect3DMobileDevice::CreateVertexBuffer method, which takes pool (memory class) and usage parameters. CreateVertexBuffer can also be created with a specified flexible vertex format (FVF) code for use in fixed function vertex processing, or as the output of process vertices. For more information, see FVF Vertex Buffers and Processing Vertices.
It is possible to force vertex and index buffers into system memory by specifying D3DPOOL_SYSTEMMEM, even when the vertex processing is done in hardware. This is a way to avoid overly large amounts of page-locked memory when a driver is putting these buffers into AGP memory.