cginternals / globjects

C++ library strictly wrapping OpenGL objects.
https://globjects.org
MIT License
538 stars 59 forks source link

Add class TextureHandle #292

Closed j-o closed 8 years ago

j-o commented 9 years ago

This replaces the original typdef with a class that represents either a texture handle or a combined texture sampler handle, i.e. wraps calls to glGetTextureHandleARB and glGetTextureSamplerHandleARB. The original solution did not support the latter.