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

Public Member Functions

 Tex (const Tex &that)=delete
 
 Tex (Tex &&that) noexcept
 
Texoperator= (const Tex &that)=delete
 
Texoperator= (Tex &&that) noexcept
 
BlendMode getBlendMode ()
 
void setBlendMode (const BlendMode m)
 
uint8_t getAlphaMod ()
 
void setAlphaMod (const uint8_t i)
 
RGB getRGBMod ()
 
void setRGBMod (const RGB i)
 
TextureInfo query ()
 
SDL_Texture * unsafeRaw () noexcept
 
const SDL_Texture * unsafeRaw () const noexcept
 

Protected Member Functions

 Tex (Ren &r, const pixelfmt::Id fmt, const int access, const geom::Size s)
 

Protected Attributes

SDL_Texture * h_
 

Friends

void swap (Tex &a, Tex &b) noexcept
 

Detailed Description

Definition at line 40 of file Tex.hpp.


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