Gwork: 0.3.0Dev
Gwk::Renderer::SDL2ResourceLoader Class Reference

Default resource loader for SDL2. More...

#include <SDL2.h>

Inheritance diagram for Gwk::Renderer::SDL2ResourceLoader:
Gwk::ResourceLoader

Public Member Functions

 SDL2ResourceLoader (ResourcePaths &paths, SDL_Renderer *rdr)
 
Font::Status LoadFont (Font &font) override
 
void FreeFont (Font &font) override
 
Texture::Status LoadTexture (Texture &texture) override
 
void FreeTexture (Texture &texture) override
 
- Public Member Functions inherited from Gwk::ResourceLoader
virtual void Notify (NotificationType msg)
 

Additional Inherited Members

- Public Types inherited from Gwk::ResourceLoader
enum  NotificationType {
  NotificationType::DeviceLost, NotificationType::DeviceAcquired, NotificationType::ReleaseResources, MaxMessages,
  UserMessageStart = 100
}
 Types of notification that the loader might want to know about. More...
 

Detailed Description

Default resource loader for SDL2.


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