SuperTuxKart
|
A simple non-templated base class for a shader that uses textures. More...
#include <texture_shader.hpp>
Public Types | |
typedef std::function< void(GLuint, GLuint)> | BindFunction |
Protected Member Functions | |
GLuint | createSamplers (SamplerTypeNew sampler_type) |
Protected Attributes | |
std::vector< BindFunction > | m_bind_functions |
Static Protected Attributes | |
static BindFunction | m_all_bind_functions [] |
static GLuint | m_all_texture_types [] |
A simple non-templated base class for a shader that uses textures.
A non templated base class is necessary to easily handle static objects (like list of all bind functions to call) - with templates each instance is a different class (with different static values).
|
staticprotected |
|
staticprotected |