25 #ifndef __SamplerBinding_hh__
26 #define __SamplerBinding_hh__
28 #include <OpenGLFramework/Base/glfTexture.hh>
29 #include <OpenGLFramework/Base/glfShaderProgram.hh>
53 void MapSampler(
glfTexture* texture,
const std::string& UniformName);
60 textureCache() : tex(NULL), tu(0) {}
64 std::map<std::string, textureCache> mappedTextures_;
A shader program composed of several shaders.
Helper to manage the binding of textures to texture units via uniform names.