Share via


D3DHAL_DP2SETPRIORITY

This structure is used to inform the driver of the priority of the texture specified by the handle dwDDDestSurface.

typedef struct _D3DHAL_DP2SETPRIORITY {
  DWORD dwDDDestSurface;
  DWORD dwPriority;
} D3DHAL_DP2SETPRIORITY, *LPD3DHAL_DP2SETPRIORITY;

Members

  • dwDDDestSurface
    Specifies the handle of the texture.
  • dwPriority
    Specifies the priority of the dwDDDestSurface texture.

Remarks

Drivers are notified of handles at texture creation time. The driver can expect to receive priority notifications only for driver-managed textures.

Priorities are used to determine when managed textures are to be evicted from memory. A texture assigned a low priority will be evicted before a texture with a high priority. If two textures have the same priority, the texture that was used more recently is kept in memory; the other texture is evicted.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3dhal.h.

See Also

D3DHAL_XXX Structures

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.