charcoal/OpenGLEngine/MyShaderProgram.h

24 lines
303 B
C
Raw Normal View History

2018-09-05 06:49:02 +00:00
#pragma once
#include "ShaderProgram.h"
#include "Shader.h"
class MyShaderProgram : public ShaderProgram
{
public:
struct Vertex
{
float x;
float y;
float z;
};
MyShaderProgram();
protected:
GLuint gen_vao() const override;
private:
Shader m_vertex_shader;
Shader m_fragment_shader;
};