v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
27
source/rendering/StarDrawablePainter.hpp
Normal file
27
source/rendering/StarDrawablePainter.hpp
Normal file
|
@ -0,0 +1,27 @@
|
|||
#ifndef STAR_DRAWABLE_PAINTER_HPP
|
||||
#define STAR_DRAWABLE_PAINTER_HPP
|
||||
|
||||
#include "StarDrawable.hpp"
|
||||
#include "StarRenderer.hpp"
|
||||
#include "StarAssetTextureGroup.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
STAR_CLASS(DrawablePainter);
|
||||
|
||||
class DrawablePainter {
|
||||
public:
|
||||
DrawablePainter(RendererPtr renderer, AssetTextureGroupPtr textureGroup);
|
||||
|
||||
void drawDrawable(Drawable const& drawable);
|
||||
|
||||
void cleanup(int64_t textureTimeout);
|
||||
|
||||
private:
|
||||
RendererPtr m_renderer;
|
||||
AssetTextureGroupPtr m_textureGroup;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue