7cbe8acf30
Now the code is being compiled through .lib files!
28 lines
522 B
C++
28 lines
522 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include <charcoal/Application.h>
|
|
#include <charcoal/Scene.h>
|
|
#include <charcoal/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;
|
|
};
|
|
}
|
|
} |