MeVisLab Toolbox Reference
View2DShaderGLSL::Shader Struct Reference

Stores a full shader program for the given configuration. More...

#include <View2DShaderGLSL.h>

Public Member Functions

 Shader (const ShaderConfig &config)
 

Public Attributes

ShaderConfig config
 
ml::GLSLFragmentShader fragmentShader
 
ml::GLSLVertexShader vertexShader
 
ml::GLSLProgram program
 

Detailed Description

Stores a full shader program for the given configuration.

Definition at line 63 of file View2DShaderGLSL.h.

Constructor & Destructor Documentation

◆ Shader()

View2DShaderGLSL::Shader::Shader ( const ShaderConfig & config)
inline

Definition at line 65 of file View2DShaderGLSL.h.

Member Data Documentation

◆ config

ShaderConfig View2DShaderGLSL::Shader::config

Definition at line 69 of file View2DShaderGLSL.h.

◆ fragmentShader

ml::GLSLFragmentShader View2DShaderGLSL::Shader::fragmentShader

Definition at line 71 of file View2DShaderGLSL.h.

◆ program

ml::GLSLProgram View2DShaderGLSL::Shader::program

Definition at line 73 of file View2DShaderGLSL.h.

◆ vertexShader

ml::GLSLVertexShader View2DShaderGLSL::Shader::vertexShader

Definition at line 72 of file View2DShaderGLSL.h.


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