charcoal/OpenGLEngine/MySimple3DScene.h
elipzer ae7fcc9011 Starting Textured Scene
Want to use seperate textures and samplers for the scene to allow
for more modularization. Currently have created a texture class
and started creating a scene class.
2018-09-15 17:40:49 -04:00

37 lines
584 B
C++

#pragma once
#include "Scene.h"
#include "Camera3D.h"
#include "MyBatch.h"
#include "MySimpleShaderProgram.h"
using namespace charcoal;
class MySimple3DScene : public Scene
{
public:
MySimple3DScene(Application& application);
~MySimple3DScene();
void init() override;
void use() override;
void unuse() override;
void update(float delta_time, clock_t clock) override;
void prerender() override;
void render() override;
private:
MySimpleShaderProgram m_shader_program;
MySimpleShaderProgram::Renderable m_shape;
MyBatch m_batch;
charcoal::Camera3D m_camera;
};