13 #ifndef OGLPLUS_TEXTURE_UNIT_1107121519_HPP
14 #define OGLPLUS_TEXTURE_UNIT_1107121519_HPP
20 #if OGLPLUS_DOCUMENTATION_ONLY
21 class TextureUnitSelector
26 TextureUnitSelector(GLuint count);
29 OGLPLUS_DECLARE_LIMITED_COUNT_TYPE(
31 MAX_COMBINED_TEXTURE_IMAGE_UNITS
35 #if OGLPLUS_DOCUMENTATION_ONLY
36 class ImageUnitSelector
41 ImageUnitSelector(GLuint count);
43 #elif GL_VERSION_4_2 || GL_ARB_shader_image_load_store
44 OGLPLUS_DECLARE_LIMITED_COUNT_TYPE(
49 typedef GLuint ImageUnitSelector;
54 #endif // include guard
Generic OpenGL implementation-dependend limited value wrapper.