charcoal/CharcoalBuiltin/BasicScene.h
elipzer bb4592ed63 Got the batch rendering to be similar to where I want it.
Changing the mechanic of the renderer to support pipelines.
One scene could have multiple pipelines. The pipelines allow for
one shader, one camera, and multiple batches.
2018-10-14 00:52:32 -04:00

41 lines
721 B
C++

#pragma once
#include <vector>
#include <charcoal/Application.h>
#include <charcoal/Camera.h>
#include <charcoal/constants.h>
#include "AutoPrerenderingScene.h"
#include "BasicShaderProgram.h"
#include "BasicTypes.h"
#include "BasicBatch.h"
#include "Batched.h"
#include "WithCamera.h"
namespace charcoal
{
namespace builtin
{
namespace basic
{
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;
};
}
}
}