charcoal/CharcoalBuiltin/ImageScene.h

35 lines
607 B
C++

#pragma once
#include "AutoPrerenderingScene.h"
#include "WithCamera.h"
#include "Batched.h"
#include "SpriteBatch.h"
#include "ImageShaderProgram.h"
#include "ImageTypes.h"
namespace charcoal
{
namespace builtin
{
namespace image
{
class Scene : public AutoPrerenderingScene, public WithCamera, public Batched<Renderable, Batch>
{
public:
Scene(Application& application) : AutoPrerenderingScene(application) {}
void init() override;
void use() override;
void unuse() override;
void render() override;
private:
ShaderProgram m_shader_program;
};
}
}
}