#include <GLProgramm.h>
Public Member Functions | |
GLProgramm () | |
~GLProgramm () | |
void | load (QString &vertexShaderName, QString &fragmentShaderName) |
bool | link () |
void | free () |
Public Attributes | |
GLuint | programm |
GLShader | vertexShader |
GLShader | fragmentShader |
Definition at line 11 of file GLProgramm.h.
GLProgramm::GLProgramm | ( | ) |
GLProgramm::~GLProgramm | ( | ) |
void GLProgramm::free | ( | ) |
Definition at line 79 of file GLProgramm.cpp.
References programm.
Referenced by GLMultiProgramm::free(), GL3DView::uninitializeGL(), and ~GLProgramm().
bool GLProgramm::link | ( | ) |
Definition at line 22 of file GLProgramm.cpp.
References GLShader::compile(), fragmentShader, programm, GLShader::shader, and vertexShader.
Referenced by GL3DView::initializeGL(), GLMultiProgramm::link(), and GL3DView::paintGL().
void GLProgramm::load | ( | QString & | vertexShaderName, | |
QString & | fragmentShaderName | |||
) |
Definition at line 16 of file GLProgramm.cpp.
References fragmentShader, GLShader::load(), and vertexShader.
Referenced by GL3DView::GL3DView(), and GLMultiProgramm::load().
Definition at line 21 of file GLProgramm.h.
Referenced by GL3DView::drawVolume(), link(), GLMultiProgramm::link(), load(), and GL3DView::paintGL().
GLuint GLProgramm::programm |
Definition at line 20 of file GLProgramm.h.
Referenced by GL3DView::drawVolume(), free(), GLProgramm(), link(), and GL3DView::paintGL().