#include <GLShader.h>
Public Member Functions | |
| GLShader (GLuint type) | |
| ~GLShader () | |
| bool | load (QString shaderName) |
| bool | change () |
| bool | compile (bool *changed=0) |
| void | free () |
Public Attributes | |
| bool | changed |
| bool | initialized |
| QString | shaderName |
| GLuint | type |
| GLuint | shader |
| string | source |
| unsigned int | loopPos |
| unsigned int | loopIterations |
| unsigned int | maxLoopIterations |
| vector< string > | parts |
| vector< string > | glue |
Definition at line 17 of file GLShader.h.
| GLShader::GLShader | ( | GLuint | type | ) |
Definition at line 6 of file GLShader.cpp.
References changed, initialized, loopIterations, loopPos, maxLoopIterations, and shader.
| GLShader::~GLShader | ( | ) |
| bool GLShader::change | ( | ) |
Definition at line 82 of file GLShader.cpp.
References glue, initialized, loopIterations, loopPos, maxLoopIterations, parts, and source.
Referenced by compile().
| bool GLShader::compile | ( | bool * | changed = 0 |
) |
Definition at line 157 of file GLShader.cpp.
References change(), initialized, shader, shaderName, source, and type.
Referenced by GLProgramm::link().
| void GLShader::free | ( | ) |
| bool GLShader::load | ( | QString | shaderName | ) |
Definition at line 42 of file GLShader.cpp.
References getFileContents(), glue, initialized, loopPos, parts, and source.
Referenced by GLProgramm::load().
| bool GLShader::changed |
| vector<string> GLShader::glue |
Definition at line 27 of file GLShader.h.
Referenced by change(), compile(), GLShader(), and load().
| unsigned int GLShader::loopIterations |
Definition at line 31 of file GLShader.h.
Referenced by change(), GL3DView::drawVolume(), GLShader(), GLMultiProgramm::link(), and GL3DView::paintGL().
| unsigned int GLShader::loopPos |
| unsigned int GLShader::maxLoopIterations |
Definition at line 31 of file GLShader.h.
Referenced by change(), GLShader(), GLMultiProgramm::link(), and GL3DView::paintGL().
| vector<string> GLShader::parts |
| GLuint GLShader::shader |
Definition at line 29 of file GLShader.h.
Referenced by compile(), free(), GLShader(), and GLProgramm::link().
| QString GLShader::shaderName |
| string GLShader::source |
| GLuint GLShader::type |
1.5.7.1