charcoal/OpenGLEngine/AutoPrerenderingScene.h

28 lines
495 B
C
Raw Normal View History

#pragma once
#include <vector>
#include "Application.h"
#include "Scene.h"
#include "Prerenderable.h"
namespace charcoal
{
namespace builtin
{
class AutoPrerenderingScene : public Scene
{
public:
AutoPrerenderingScene(Application& application) : Scene(application) {}
virtual ~AutoPrerenderingScene() {}
void prerender() override;
protected:
void add_prerenderable(Prerenderable* p_prerenderable);
private:
std::vector<Prerenderable*> m_prerenderables;
};
}
}