#include <glslprogram.h>
yage::GlslProgram::GlslProgram |
( |
| ) |
|
|
default |
yage::GlslProgram::~GlslProgram |
( |
| ) |
|
void yage::GlslProgram::addAttribute |
( |
const std::string & |
attribute_name | ) |
|
void yage::GlslProgram::compileShader |
( |
const GLuint & |
shader, |
|
|
const std::string & |
file_path |
|
) |
| |
|
private |
void yage::GlslProgram::compileShaders |
( |
const std::string & |
vertex_shader_path, |
|
|
const std::string & |
fragment_shader_path |
|
) |
| |
void yage::GlslProgram::defaultSetup |
( |
| ) |
|
GLint yage::GlslProgram::getUniformLocation |
( |
const std::string & |
uniform_name | ) |
|
void yage::GlslProgram::linkShaders |
( |
| ) |
|
void yage::GlslProgram::unuse |
( |
| ) |
|
void yage::GlslProgram::use |
( |
| ) |
|
int yage::GlslProgram::attribute_index_ = 0 |
|
private |
GLuint yage::GlslProgram::fragment_shader_id_ = 0 |
|
private |
GLuint yage::GlslProgram::program_id_ = 0 |
|
private |
GLuint yage::GlslProgram::vertex_shader_id_ = 0 |
|
private |
The documentation for this class was generated from the following files: