MeVisLab Toolbox Reference
View2DShaderCacheGLSL Class Reference

Global GLSL shader cache for all shaders that are used in the SoView2D. More...

#include <View2DShaderGLSL.h>

Public Member Functions

View2DShaderGLSL::ShaderfindOrCreateShader (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. More...
 

Static Public Member Functions

static View2DShaderCacheGLSLself ()
 get the shader cache singleton (creates it if not yet present) More...
 

Detailed Description

Global GLSL shader cache for all shaders that are used in the SoView2D.

Definition at line 90 of file View2DShaderGLSL.h.

Member Function Documentation

◆ findOrCreateShader()

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.

◆ self()

static View2DShaderCacheGLSL* View2DShaderCacheGLSL::self ( )
static

get the shader cache singleton (creates it if not yet present)


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