#pragma once #include #include #include "AutoPrerenderingScene.h" #include "Batched.h" #include "TexturedBatch.h" #include "TexturedShaderProgram.h" namespace charcoal { namespace builtin { namespace textured { class Scene : public AutoPrerenderingScene, public Batched { public: Scene(Application& application) : AutoPrerenderingScene(application) {} virtual ~Scene() {} void init() override; void use() override; void unuse() override; void render() override; protected: void set_camera(const Camera* p_camera) { m_p_camera = p_camera; } private: ShaderProgram m_shader_program; const Camera* m_p_camera = nullptr; }; } } }