20#ifndef HEADER_SHADERS_HPP
21#define HEADER_SHADERS_HPP
23#include "graphics/shader.hpp"
44 glBindVertexArray(m_vao);
45 glVertexAttrib4f(8, 0.0f, 0.0f, 0.0f, 0.0f);
46 glVertexAttrib4f(9, 0.0f, 0.0f, 0.0f, 0.0f);
47 glVertexAttrib4f(10, 1.0f, 1.0f, 1.0f, 1.0f);
53 glBindBuffer(GL_ARRAY_BUFFER, m_vbo);
The main templated base class for all shaders that do not use textures.
Definition: shader.hpp:119
Shader to draw a colored line.
Definition: shaders.hpp:33
void bindVertexArray()
Bind the vertex array of this shader.
Definition: shaders.hpp:42
void bindBuffer()
Binds the vbo of this shader.
Definition: shaders.hpp:51