|
CGVIS Utils
|
RAII wrapper for an OpenGL 2D texture with byte/half/float upload helpers. More...
Go to the source code of this file.
Classes | |
| class | GLTexture2D |
RAII wrapper for an OpenGL 2D texture with byte/half/float upload helpers.
Encapsulates creation/destruction of a GL_TEXTURE_2D object, provides data upload from interleaved vectors or an Image, supports multiple data types (see GLDataType), basic parameter control (filters, wrap), and mipmap generation. Read-back helpers are available on non-Emscripten builds.