#include <GLSLShader.h>
Renderer interface | |
| void | Apply () |
| bool | IsValid () |
| static void | Init () |
| static void | Unapply () |
Public Member Functions | |
| GLSLShader () | |
| The constructor attempts to load the shader pair immediately. | |
| GLSLShader (const GLSLShaderPair &pair) | |
| ~GLSLShader () | |
| void | IncRef () |
| bool | DecRef () |
Uniform variables | |
| void | SetInt (const string &name, int s) |
| void | SetFloat (const string &name, float s) |
| void | SetVector (const string &name, dVector s) |
| void | SetColour (const string &name, dColour s) |
Attribute variables | |
| void | SetFloatArray (const string &name, const vector< float > &s) |
| void | SetVectorArray (const string &name, const vector< dVector > &s) |
| void | SetColourArray (const string &name, const vector< dColour > &s) |
Static Public Attributes | |
| static bool | m_Enabled |
Definition at line 65 of file GLSLShader.h.
| Fluxus::GLSLShader::GLSLShader | ( | ) | [inline] |
The constructor attempts to load the shader pair immediately.
Definition at line 69 of file GLSLShader.h.
| GLSLShader::GLSLShader | ( | const GLSLShaderPair & | pair | ) |
Definition at line 113 of file GLSLShader.cpp.
| GLSLShader::~GLSLShader | ( | ) |
Definition at line 139 of file GLSLShader.cpp.
| void Fluxus::GLSLShader::IncRef | ( | ) | [inline] |
Definition at line 74 of file GLSLShader.h.
| bool Fluxus::GLSLShader::DecRef | ( | ) | [inline] |
Definition at line 75 of file GLSLShader.h.
| void GLSLShader::Init | ( | ) | [static] |
Definition at line 147 of file GLSLShader.cpp.
| void GLSLShader::Apply | ( | ) |
Definition at line 154 of file GLSLShader.cpp.
| void GLSLShader::Unapply | ( | ) | [static] |
Definition at line 162 of file GLSLShader.cpp.
| bool Fluxus::GLSLShader::IsValid | ( | ) | [inline] |
Definition at line 83 of file GLSLShader.h.
| void GLSLShader::SetInt | ( | const string & | name, | |
| int | s | |||
| ) |
Definition at line 170 of file GLSLShader.cpp.
| void GLSLShader::SetFloat | ( | const string & | name, | |
| float | s | |||
| ) |
Definition at line 179 of file GLSLShader.cpp.
| void GLSLShader::SetVector | ( | const string & | name, | |
| dVector | s | |||
| ) |
Definition at line 188 of file GLSLShader.cpp.
| void GLSLShader::SetColour | ( | const string & | name, | |
| dColour | s | |||
| ) |
Definition at line 197 of file GLSLShader.cpp.
| void GLSLShader::SetFloatArray | ( | const string & | name, | |
| const vector< float > & | s | |||
| ) |
Definition at line 206 of file GLSLShader.cpp.
| void GLSLShader::SetVectorArray | ( | const string & | name, | |
| const vector< dVector > & | s | |||
| ) |
Definition at line 216 of file GLSLShader.cpp.
| void GLSLShader::SetColourArray | ( | const string & | name, | |
| const vector< dColour > & | s | |||
| ) |
Definition at line 226 of file GLSLShader.cpp.
bool GLSLShader::m_Enabled [static] |
Definition at line 103 of file GLSLShader.h.
1.5.1