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

Public Member Functions

 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
 

Protected Member Functions

SWTex_BasedrawPoint (const RGBA c, const geom::Pos p) noexcept
 
RGBA getPoint (const geom::Pos p) const noexcept
 

Protected Attributes

SDL_Surface * h_
 

Friends

class Win_SW
 
class SWTex
 
class SWTex_RLE
 
class SWTex_RLELock
 
void swap (SWTex_Base &a, SWTex_Base &b) noexcept
 

Detailed Description

Definition at line 11 of file SWTex.hpp.


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