rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
Public Member Functions | Friends | List of all members
rolmodl::TexLock Class Reference

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
 
TexLockoperator= (const TexLock &that)=delete
 
TexLockoperator= (TexLock &&that) noexcept
 
TexLockdrawPoint (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
 

Detailed Description

Definition at line 96 of file Tex.hpp.


The documentation for this class was generated from the following files: