charcoal/OpenGLEngine/MyBasicScene.h
2018-09-11 01:18:17 -04:00

30 lines
412 B
C++

#pragma once
#include "Scene.h"
#include "MyBasicShaderProgram.h"
class MyBasicScene : public Scene
{
public:
MyBasicScene(Application& application);
~MyBasicScene();
void init() override;
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void render() override;
private:
MyBasicShaderProgram m_shader_program;
GLuint m_vbo;
GLuint m_vao;
};