Microsoft DirectX 8.1 (Visual Basic) |
Enum CONST_D3DLOCKFLAGS D3DLOCK_READONLY = 16 (&H10) D3DLOCK_NOSYSLOCK = 2048 (&H800) D3DLOCK_NOOVERWRITE = 4096 (&H1000) D3DLOCK_DISCARD = 8192 (&H2000) D3DLOCK_NO_DIRTY_UPDATE = 32768 (&H8000) End Enum
The lock operation is slightly more expensive, but can enable the system to perform other duties, such as moving the mouse cursor. This flag is useful for long duration locks, such as the lock of the back buffer for software rendering that would otherwise adversely affect system