Partager via


D3DMPOOL

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration provides values that describe the memory pools for allocating Direct3D Mobile resources.

Syntax

typedef enum _D3DMPOOL {
  D3DMPOOL_VIDEOMEM    = 0,
  D3DMPOOL_SYSTEMMEM   = 1,
  D3DMPOOL_MANAGED     = 2,
  D3DMPOOL_FORCE_ULONG = 0x7fffffff,
} D3DMPOOL;

Elements

  • D3DMPOOL_VIDEOMEM
    Indicates that the memory pool is in a local memory store that is attached directly to the device.
  • D3DMPOOL_SYSTEMMEM
    Indicates that the memory pool is in the device's main memory.
  • D3DMPOOL_MANAGED
    Indicates that the device supports both video memory and system memory, and that the memory pool is a combination of the two types.
  • D3DMPOOL_FORCE_ULONG
    Forces the compiler to interpret the enumeration as a ULONG value. This value is not used directly in Direct3D Mobile programming.

Requirements

Header d3dmtypes.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Direct3D Mobile Enumerations