charcoal/OpenGLEngine/MySimpleScene.h

38 lines
493 B
C
Raw Normal View History

2018-09-04 19:25:54 +00:00
#pragma once
#include <time.h>
#include "Scene.h"
#include "MyBatch.h"
2018-09-05 06:49:02 +00:00
#include "MyShaderProgram.h"
#include "MyTriangle.h"
2018-09-04 19:25:54 +00:00
class MySimpleScene :
public Scene
{
public:
MySimpleScene();
~MySimpleScene();
void init() override;
2018-09-04 19:25:54 +00:00
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void render() override;
2018-09-05 06:49:02 +00:00
private:
//MyBatch m_batch;
2018-09-05 06:49:02 +00:00
MyShaderProgram m_shader_program;
//MyTriangle m_triangle;
GLuint m_vbo;
GLuint m_vao;
2018-09-04 19:25:54 +00:00
};