charcoal/OpenGLEngine/MySimpleScene.h
2018-09-05 16:29:41 -04:00

36 lines
447 B
C++

#pragma once
#include <time.h>
#include "Scene.h"
#include "MyBatch.h"
#include "MyShaderProgram.h"
#include "MyTriangle.h"
class MySimpleScene :
public Scene
{
public:
MySimpleScene();
~MySimpleScene();
void init() override;
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void render() override;
private:
MyShaderProgram m_shader_program;
GLuint m_vbo;
GLuint m_vao;
};