#include "Shader.hpp"
#include <fstream>
#include <iostream>
Functions | |
bool | file_exists (const std::string &filename) |
Queries if a given file exists. | |
std::string | textFileRead (const std::string &p_filename) |
Reads shader file. | |
void | printShaderInfoLog (GLuint obj) |
Print shader information log. | |
void | printProgramInfoLog (GLuint obj) |
Print shader program information log. | |
void | printInfoLog (GLhandleARB obj) |
Print shader information log. |
bool file_exists | ( | const std::string & | filename ) |
Queries if a given file exists.
filename | Filename of the file. |
void printInfoLog | ( | GLhandleARB | obj ) |
Print shader information log.
obj | The object. |
void printProgramInfoLog | ( | GLuint | obj ) |
Print shader program information log.
obj | The object. |
void printShaderInfoLog | ( | GLuint | obj ) |
Print shader information log.
obj | The object. |
std::string textFileRead | ( | const std::string & | p_filename ) |
Reads shader file.
p_filename | Filename of the file. |