GLShader Class Reference

#include <GLShader.h>

List of all members.

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


Detailed Description

Definition at line 17 of file GLShader.h.


Constructor & Destructor Documentation

GLShader::GLShader ( GLuint  type  ) 

Definition at line 6 of file GLShader.cpp.

References changed, initialized, loopIterations, loopPos, maxLoopIterations, and shader.

GLShader::~GLShader (  ) 

Definition at line 17 of file GLShader.cpp.

References free().


Member Function Documentation

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 (  ) 

Definition at line 218 of file GLShader.cpp.

References shader.

Referenced by ~GLShader().

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().


Member Data Documentation

Definition at line 27 of file GLShader.h.

Referenced by GLShader().

vector<string> GLShader::glue

Definition at line 33 of file GLShader.h.

Referenced by change(), and load().

Definition at line 27 of file GLShader.h.

Referenced by change(), compile(), GLShader(), and load().

unsigned int GLShader::loopPos

Definition at line 31 of file GLShader.h.

Referenced by change(), GLShader(), and load().

Definition at line 31 of file GLShader.h.

Referenced by change(), GLShader(), GLMultiProgramm::link(), and GL3DView::paintGL().

vector<string> GLShader::parts

Definition at line 32 of file GLShader.h.

Referenced by change(), and load().

Definition at line 29 of file GLShader.h.

Referenced by compile(), free(), GLShader(), and GLProgramm::link().

Definition at line 28 of file GLShader.h.

Referenced by compile().

Definition at line 30 of file GLShader.h.

Referenced by change(), compile(), and load().

Definition at line 29 of file GLShader.h.

Referenced by compile().


The documentation for this class was generated from the following files:

Generated on Wed Dec 10 13:50:14 2008 for Tido Visualization by  doxygen 1.5.7.1