Partager via


Driver-Managed Resources

In addition to supporting texture management as described in Driver-Managed Textures, a DirectX 8.1 driver can also manage resources in general, such as textures, volume textures, cube-map textures, vertex buffers, and index buffers.

The driver supports driver-managed resources by setting the dwCaps2 member of the DDCORECAPS structure to the DDCAPS2_CANMANAGERESOURCE bit. The driver specifies this DDCORECAPS structure in the ddCaps member of a DD_HALINFO structure. DD_HALINFO is returned by DrvGetDirectDrawInfo in response to the initialization of the DirectDraw component of the driver.