CGVIS Utils
Loading...
Searching...
No Matches
GLTexture3D.h File Reference

RAII wrapper for an OpenGL 3D texture with byte/float upload helpers. More...

#include <vector>
#include "GLEnv.h"
Include dependency graph for GLTexture3D.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GLTexture3D

Detailed Description

RAII wrapper for an OpenGL 3D texture with byte/float upload helpers.

Encapsulates creation/destruction of a GL_TEXTURE_3D object, provides data upload from interleaved vectors of unsigned bytes or 32-bit floats, basic parameter control (filters, wrap per axis), and optional read-back helpers on non-Emscripten builds.

Note
All GL calls are wrapped with the GL() macro provided by GLEnv.h.