MeVisLab Toolbox Reference
|
Global GLSL shader cache for all shaders that are used in the SoView2D. More...
#include <View2DShaderGLSL.h>
Public Member Functions | |
View2DShaderGLSL::Shader * | findOrCreateShader (const View2DShaderGLSL::ShaderConfig &config) |
Finds the given shader or creates it if not yet available The returned shader contains an already compiled and linked shader. | |
Static Public Member Functions | |
static View2DShaderCacheGLSL * | self () |
get the shader cache singleton (creates it if not yet present) | |
Global GLSL shader cache for all shaders that are used in the SoView2D.
Definition at line 90 of file View2DShaderGLSL.h.
View2DShaderGLSL::Shader * View2DShaderCacheGLSL::findOrCreateShader | ( | const View2DShaderGLSL::ShaderConfig & | config | ) |
Finds the given shader or creates it if not yet available The returned shader contains an already compiled and linked shader.
|
static |
get the shader cache singleton (creates it if not yet present)