Share via


D3DMSURFCAPS Values (Windows CE 5.0)

Send Feedback

The following table shows values that are used in the SurfaceCaps member of the D3DMCAPS structure to describe the general nature of the surfaces that are supported by a device and which memory pools support which data types.

Value Description
D3DMSURFCAPS_LOCKBACKBUFFER Indicates that the device allows its back buffers to be locked.
D3DMSURFCAPS_LOCKDEPTHBUFFER Indicates that the device allows its depth/stencil buffers to be locked.
D3DMSURFCAPS_LOCKFRONTBUFFER Indicates that the device allows its front buffer to be locked.
D3DMSURFCAPS_LOCKTEXTURE Indicates that the device allows its texture maps to be locked.
D3DMSURFCAPS_MANAGEDPOOL Indicates that the device supports the managed memory pool for vertex buffers, index buffers, and texture maps.
D3DMSURFCAPS_SYSBACKBUFFER Indicates that the device locates its render targets in the system memory pool. This capability bit is mutually exclusive with D3DMSURFCAPS_VIDBACKBUFFER.
D3DMSURFCAPS_SYSDEPTHBUFFER Indicates that the device locates its depth and stencil buffers in the system memory pool. This capability bit is mutually exclusive with D3DMSURFCAPS_VIDDEPTHBUFFER.
D3DMSURFCAPS_SYSFRONTBUFFER Indicates that the driver supports front buffers in system memory.

This capability bit and D3DMSURFCAPS_VIDFRONTBUFFER are mutually exclusive.

D3DMSURFCAPS_SYSIMAGESURFACE Indicates that the device allows you to allocate image surfaces in the system memory pool.
D3DMSURFCAPS_SYSINDEXBUFFER Indicates that the device allows you to allocate index buffers in the system memory pool.
D3DMSURFCAPS_SYSTEXTURE Indicates that the device allows you to allocate texture maps in the system memory pool.
D3DMSURFCAPS_SYSVERTEXBUFFER Indicates that the device allows you to allocate vertex buffers in the system memory pool.
D3DMSURFCAPS_VIDBACKBUFFER Indicates that the device locates its render targets in the video memory pool.

This capability bit and D3DMSURFCAPS_SYSBACKBUFFER are mutually exclusive.

D3DMSURFCAPS_VIDDEPTHBUFFER Indicates that the device locates its depth and stencil buffers in the video memory pool.

This capability bit and D3DMSURFCAPS_SYSDEPTHBUFFER are is mutually exclusive.

D3DMSURFCAPS_VIDFRONTBUFFER Indicates that the driver supports front buffers in video memory.

This capability bit and D3DMSURFCAPS_SYSFRONTBUFFER are mutually exclusive.

D3DMSURFCAPS_VIDIMAGESURFACE Indicates that the device allows you to the allocate of image surfaces in the video memory pool.
D3DMSURFCAPS_VIDINDEXBUFFER Indicates that the device allows you to allocate index buffers in the video memory pool.
D3DMSURFCAPS_VIDTEXTURE Indicates that the device allows you to allocate texture maps in the video memory pool.
D3DMSURFCAPS_VIDVERTEXBUFFER Indicates that the device allows you to allocate vertex buffers in the video memory pool.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: D3dmcaps.h.

See Also

Direct3D Mobile Capability Bits | Direct3D Mobile Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.