charcoal/OpenGLEngine/MyShaderProgram.h
2018-09-05 02:49:02 -04:00

24 lines
303 B
C++

#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;
};