Share via


D3DM_RESOURCEMANAGER_ACTION (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Header d3dmddk.h
Windows Embedded CE Windows CE 5.0

See Also

Reference

Direct3D Mobile Driver Enumerations
D3DM_RESOURCEMANAGER_DATA