#include <Shader.h>
Public Types | |
| typedef Shader< GL_FRAGMENT_SHADER > | FragmentShader |
| typedef Shader< GL_VERTEX_SHADER > | VertexShader |
Public Member Functions | |
| ShaderProgram () | |
| ~ShaderProgram () | |
| bool | addFragmentShader (const std::wstring &strSourceFile) |
| bool | addVertexShader (const std::wstring &strSourceFile) |
| bool | removeShader (const std::wstring &strSourceFile) |
| void | link () |
| operator GLuint () | |
| operator const GLuint () const | |
Protected Member Functions | |
| template<class SHADER> | |
| bool | addShader (const std::wstring &strSourceFile) |
Protected Attributes | |
| const GLuint | nID |
| std::map< std::wstring, _Shader * > | mShaders |
Classes | |
| class | _Shader |
| class | Shader |
| typedef Shader<GL_FRAGMENT_SHADER> FlowVis::ShaderProgram::FragmentShader |
| typedef Shader<GL_VERTEX_SHADER> FlowVis::ShaderProgram::VertexShader |
| FlowVis::ShaderProgram::ShaderProgram | ( | ) | [inline] |
| FlowVis::ShaderProgram::~ShaderProgram | ( | ) |
| bool FlowVis::ShaderProgram::addShader | ( | const std::wstring & | strSourceFile | ) | [inline, protected] |
| bool FlowVis::ShaderProgram::addFragmentShader | ( | const std::wstring & | strSourceFile | ) | [inline] |
| bool FlowVis::ShaderProgram::addVertexShader | ( | const std::wstring & | strSourceFile | ) | [inline] |
| bool FlowVis::ShaderProgram::removeShader | ( | const std::wstring & | strSourceFile | ) |
| void FlowVis::ShaderProgram::link | ( | ) |
| FlowVis::ShaderProgram::operator GLuint | ( | ) | [inline] |
| FlowVis::ShaderProgram::operator const GLuint | ( | ) | const [inline] |
const GLuint FlowVis::ShaderProgram::nID [protected] |
std::map<std::wstring, _Shader *> FlowVis::ShaderProgram::mShaders [protected] |
1.5.1-p1