2f6c5ee319
Almost there. Just an odd linker error so far.
34 lines
586 B
C++
34 lines
586 B
C++
#pragma once
|
|
|
|
#include "SpecifiedTypes.h"
|
|
#include "SpecifiedBatch.h"
|
|
|
|
#include "AutoPrerenderingScene.h"
|
|
#include "Batched.h"
|
|
#include "WithCamera.h"
|
|
|
|
namespace charcoal
|
|
{
|
|
namespace builtin
|
|
{
|
|
namespace specified
|
|
{
|
|
class Scene : public AutoPrerenderingScene, public Batched<Renderable, Batch>, public WithCamera
|
|
{
|
|
public:
|
|
Scene(Application& application) : AutoPrerenderingScene(application) {}
|
|
|
|
void init() override;
|
|
|
|
void use() override;
|
|
|
|
void unuse() override;
|
|
|
|
void render() override;
|
|
|
|
private:
|
|
ShaderProgram m_shader_program;
|
|
};
|
|
}
|
|
}
|
|
} |