Aether
SDL2 based UI Framework for NX
Texture.RenderJob.hpp
1 #ifndef AETHER_TEXTURE_RENDERJOB_HPP
2 #define AETHER_TEXTURE_RENDERJOB_HPP
3 
4 #include "Aether/base/Texture.hpp"
5 #include "Aether/ThreadPool.Job.hpp"
6 
7 namespace Aether {
13  private:
17  Texture * texture;
18 
22  void work();
23 
24  public:
30  RenderJob(Texture * texture);
31  };
32 };
33 
34 #endif
A Texture is an element that stores a texture to render in the window. It can't be instantiated alone...
Definition: Texture.hpp:24
Base namespace for all Aether related classes and functions.
Extends a thread pool job to render the given texture element on a separate thread.
Definition: Texture.RenderJob.hpp:12
RenderJob(Texture *texture)
Constructs a new Render job.
Abstract class representing a job for the ThreadPool. It is designed to be inherited to define the jo...
Definition: ThreadPool.Job.hpp:11