This topic has not yet been rated - Rate this topic

D3DMPRESENTFLAG_LOCKABLE_BACKBUFFER

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This macro is a flag that is used to indicate that a back buffer is lockable. This flag is used in the Flags member of the D3DMPRESENT_PARAMETERS structure.


#define D3DMPRESENTFLAG_LOCKABLE_BACKBUFFER  0x00000001

Set this flag if the application requires the ability to lock the back buffer directly. Note that back buffers are not lockable unless the application specifies D3DPRESENTFLAG_LOCKABLE_BACKBUFFER when calling IDirect3DMobile::CreateDevice or IDirect3DMobileDevice::Reset. Lockable back buffers incur a performance cost on some graphics hardware.

Performing a lock operation (or using IDirect3DMobileDevice::CopyRects to read/write) on the lockable back buffer decreases performance on many cards. In this case, consider using textured triangles to move data to the back buffer.

Headerd3dmtypes.h
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.