Engine
Main Page
Related Pages
Classes
Files
File List
shader.h
1
2
#include <string>
3
#include <fstream>
4
#include <sstream>
5
#include <iostream>
6
7
#include <GL/glew.h>
8
#ifndef SHADER_H
9
#define SHADER_H
10
13
class
Shader
14
{
15
public
:
16
GLuint Program;
17
23
Shader
(
const
GLchar* vertexPath,
const
GLchar* fragmentPath);
24
28
void
Use
();
29
};
30
31
32
#endif
Shader
Definition:
shader.h:13
Shader::Use
void Use()
Definition:
shader.cpp:75
Shader::Shader
Shader(const GLchar *vertexPath, const GLchar *fragmentPath)
Definition:
shader.cpp:3
include
shader.h
Generated by
1.8.11