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

Public Member Functions

 SWTex (const geom::Size s, const pixelfmt::Id fmt)
 
 SWTex (SWTex_RLE &&rle) noexcept
 
SWTexdrawPoint (const RGBA c, const geom::Pos p) noexcept
 
RGBA getPoint (const geom::Pos p) const noexcept
 
- Public Member Functions inherited from rolmodl::SWTex_Base
 SWTex_Base (const geom::Size s, const pixelfmt::Id fmt)
 
 SWTex_Base (const SWTex_Base &that)=delete
 
 SWTex_Base (SWTex_Base &&that) noexcept
 
SWTex_Baseoperator= (const SWTex_Base &that)=delete
 
SWTex_Baseoperator= (SWTex_Base &&that) noexcept
 
pixelfmt::Id fmtId () noexcept
 
pixelfmt::Id fmtId () const noexcept
 
SDL_PixelFormat & fmt () noexcept
 
SDL_PixelFormat & fmt () const noexcept
 
unsigned int pitch () noexcept
 
unsigned int pitch () const noexcept
 
int w () noexcept
 
int w () const noexcept
 
int h () noexcept
 
int h () const noexcept
 
bool mustLock () noexcept
 
bool mustLock () const noexcept
 
SDL_Surface * unsafeRaw () noexcept
 
const SDL_Surface * unsafeRaw () const noexcept
 
uint32_t & unsafePoint (const geom::Pos p) noexcept
 
const uint32_t & unsafePoint (const geom::Pos p) const noexcept
 
void * unsafeRawPixels () noexcept
 
const void * unsafeRawPixels () const noexcept
 

Friends

class Win_SW
 

Additional Inherited Members

- Protected Member Functions inherited from rolmodl::SWTex_Base
SWTex_BasedrawPoint (const RGBA c, const geom::Pos p) noexcept
 
RGBA getPoint (const geom::Pos p) const noexcept
 
- Protected Attributes inherited from rolmodl::SWTex_Base
SDL_Surface * h_
 

Detailed Description

Definition at line 63 of file SWTex.hpp.


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