#include <Shaders.h>
Public Member Functions | |
void | init () |
void | setPixelUniforms () |
Static Public Member Functions | |
static Shaders * | getInstance () |
Public Attributes | |
GLenum | transferFunction_program |
GLenum | color_program |
GLenum | arrow_program |
GLenum | backfaces_program |
GLenum | frontfaces_program |
Shaders * Shaders::getInstance | ( | ) | [static] |
Returns an instance of this class.
void Shaders::init | ( | ) |
Compiles the Shaders to make them available for rendering.
void Shaders::setPixelUniforms | ( | ) |
Sets some uniforms before rendering
The shader-program to render the transferfunction.
GLenum Shaders::color_program |
The shader-program to render the 2D slices.
GLenum Shaders::arrow_program |
The shader-program to render the arrows
GLenum Shaders::backfaces_program |
The shader-program to render the backfaces of the volume cube.
GLenum Shaders::frontfaces_program |
The shader-program to render the frontfaces of the volume cube.