-
-
#include <glslprogram.h>
-
-
-
-
-
-
-
-
-
-
- yage::GlslProgram::GlslProgram |
- ( |
- | ) |
- |
-
-
- |
-
-default |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- yage::GlslProgram::GlslProgram |
- ( |
- const GlslProgram & |
- | ) |
- |
-
-
- |
-
-delete |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- yage::GlslProgram::GlslProgram |
- ( |
- GlslProgram && |
- | ) |
- |
-
-
- |
-
-delete |
-
-
-
-
-
-
-
-
-
-
-
- yage::GlslProgram::~GlslProgram |
- ( |
- | ) |
- |
-
-
-
-
cleans up all the shaders and the program
-
-
-
-
-
-
-
-
-
- void yage::GlslProgram::addAttribute |
- ( |
- const std::string & |
- attribute_name | ) |
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- void yage::GlslProgram::compileShader |
- ( |
- GLuint |
- shader, |
-
-
- |
- |
- const std::string & |
- shaderContent |
-
-
- |
- ) |
- | |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- void yage::GlslProgram::compileShaderFromFile |
- ( |
- GLuint |
- shader, |
-
-
- |
- |
- const std::string & |
- file_path |
-
-
- |
- ) |
- | |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
-
-
-
- void yage::GlslProgram::compileShaders |
- ( |
- const std::string & |
- vertexShader, |
-
-
- |
- |
- const std::string |
- fragmentShader |
-
-
- |
- ) |
- | |
-
-
-
-
-
-
-
-
-
-
-
- void yage::GlslProgram::compileShadersFromFile |
- ( |
- 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::initShaderId |
- ( |
- | ) |
- |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
-
-
-
- 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:
-