rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
|
Public Member Functions | |
TexLock (LockTex &tex) | |
TexLock (LockTex &tex, const geom::RectWH r) | |
TexLock (LockTex &tex, const geom::RectXY r) | |
TexLock (const TexLock &that)=delete | |
TexLock (TexLock &&that) noexcept | |
TexLock & | operator= (const TexLock &that)=delete |
TexLock & | operator= (TexLock &&that) noexcept |
TexLock & | drawPoint (const RGBA c, const geom::Pos p) noexcept |
RGBA | getPoint (const geom::Pos p) const noexcept |
uint32_t & | unsafePoint (const geom::Pos p) noexcept |
const uint32_t & | unsafePoint (const geom::Pos p) const noexcept |
void * | unsafeRaw () noexcept |
const void * | unsafeRaw () const noexcept |
Friends | |
void | swap (TexLock &a, TexLock &b) noexcept |