Beatmup
|
Makes a bitmap writable for a specific target device. More...
#include <abstract_bitmap.h>
Public Member Functions | |
WriteLock (AbstractBitmap &bitmap) | |
~WriteLock () | |
Private Attributes | |
AbstractBitmap & | bitmap |
Makes a bitmap writable for a specific target device.
Once instantiated on a bitmap, bitmap.getData() returns valid address. When destroyed, marks the bitmap being up-to-date in RAM and outdated in GPU memory. This lock may be used within tasks.
Definition at line 252 of file abstract_bitmap.h.
|
inline |
Definition at line 256 of file abstract_bitmap.h.
|
inline |
Definition at line 261 of file abstract_bitmap.h.
|
private |
Definition at line 254 of file abstract_bitmap.h.