Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Friends | List of all members
smlt::Screen Class Reference
Inheritance diagram for smlt::Screen:
smlt::RefCounted< Screen > smlt::generic::DataCarrier smlt::TwoPhaseConstructed

Public Member Functions

 Screen (Window *window, const std::string &name)
 
void render (const uint8_t *data, ScreenFormat format)
 
uint16_t height () const
 
uint16_t width () const
 
ScreenFormat format () const
 
uint16_t refresh_rate () const
 
uint16_t integer_scale () const
 
void _set_integer_scale (uint8_t scale)
 
uint32_t data_size () const
 
std::string name () const
 
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
 
virtual void clean_up ()
 
- Public Member Functions inherited from smlt::generic::DataCarrier
template<typename T >
void stash (T thing, const std::string &identifier)
 
bool exists (const std::string &identifier) const
 
template<typename T >
get (const std::string &identifier) const
 
void unstash (const std::string &identifier)
 

Friends

class Window
 

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< Screen >
typedef std::shared_ptr< Screenptr
 
typedef std::weak_ptr< Screenwptr
 
- Static Public Member Functions inherited from smlt::RefCounted< Screen >
static RefCounted< Screen >::ptr create (Args &&... args)
 
static RefCounted< Screen >::ptr create ()
 
- Protected Member Functions inherited from smlt::RefCounted< Screen >
 RefCounted (Args &&...)
 

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