charcoal/OpenGLEngine/MyObjectOrientedScene.h

27 lines
475 B
C
Raw Normal View History

#pragma once
#include "Scene.h"
#include "MyBatch.h"
#include "MyBatchTestShaderProgram.h"
class MyObjectOrientedScene : public Scene
{
public:
MyObjectOrientedScene();
~MyObjectOrientedScene();
void init() override;
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void render() override;
private:
MyBatch m_batch;
MyBatchTestShaderProgram::Renderable m_shape;
MyBatchTestShaderProgram m_shader_program;
};