Partager via


D3DM_RESOURCEMANAGER_ACTION (Windows CE 5.0)

Send Feedback

This enumeration is used in D3DM_RESOURCEMANAGER_DATA structures to identify instructions for the driver's resource manager.

typedef enum _D3DM_RESOURCEMANAGER_ACTION {  D3DM_RESACTION_DISCARD_BYTES = 0,  D3DM_RESACTION_SET_PRIORITY  = 1,  D3DM_RESACTION_PRELOAD       = 2,  D3DM_RESACTION_FORCE_ULONG   = 0xFFFFFFFF,   // force 32-bit size enum} D3DM_RESOURCEMANAGER_ACTION;

Elements

  • D3DM_RESACTION_DISCARD_BYTES
    This value indicates that the resource manages should flush D3DM_RESOURCEMANAGER_DATA.nDiscardBytes bytes from the managed memory pool.
  • D3DM_RESACTION_SET_PRIORITY
    This value indicates that the resource manager should set a new priority value for the surface identified in D3DM_RESOURCEMANAGER_DATA.nSurfaceID.
  • D3DM_RESACTION_PRELOAD
    This value indicates that the resource manager should preload the surface identified in D3DM_RESOURCEMANAGER_DATA.nSurfaceID.
  • D3DM_RESACTION_FORCE_ULONG
    This value is used to force the compiler to interpret the enumeration as a ULONG value. It is not used directly in Direct3D Mobile programming.

Requirements

OS Versions: Windows CE 5.0
Header: D3dmddk.h.

See Also

Direct3D Mobile Driver Enumerations | D3DM_RESOURCEMANAGER_DATA

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.