MeVisLab Toolbox Reference
View2DShaderGLSL::ShaderConfig Struct Reference

Stores a shader configuration. More...

#include <View2DShaderGLSL.h>

Public Member Functions

 ShaderConfig ()
 
 ShaderConfig (View2DTextureFilter filter, bool use16Bit)
 
bool operator== (const ShaderConfig &other) const
 

Public Attributes

View2DTextureFilter filter
 
bool use16Bit
 

Detailed Description

Stores a shader configuration.

Definition at line 42 of file View2DShaderGLSL.h.

Constructor & Destructor Documentation

◆ ShaderConfig() [1/2]

View2DShaderGLSL::ShaderConfig::ShaderConfig ( )
inline

Definition at line 43 of file View2DShaderGLSL.h.

References FILTER_LINEAR.

◆ ShaderConfig() [2/2]

View2DShaderGLSL::ShaderConfig::ShaderConfig ( View2DTextureFilter filter,
bool use16Bit )
inline

Definition at line 48 of file View2DShaderGLSL.h.

Member Function Documentation

◆ operator==()

bool View2DShaderGLSL::ShaderConfig::operator== ( const ShaderConfig & other) const
inline

Definition at line 53 of file View2DShaderGLSL.h.

References mlrange_cast().

Member Data Documentation

◆ filter

View2DTextureFilter View2DShaderGLSL::ShaderConfig::filter

Definition at line 58 of file View2DShaderGLSL.h.

◆ use16Bit

bool View2DShaderGLSL::ShaderConfig::use16Bit

Definition at line 59 of file View2DShaderGLSL.h.


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