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

RAII wrapper for an OpenGL depth renderbuffer (GL_RENDERBUFFER). More...

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

Go to the source code of this file.

Classes

class  GLDepthBuffer

Detailed Description

RAII wrapper for an OpenGL depth renderbuffer (GL_RENDERBUFFER).

Manages the lifetime of a depth-only renderbuffer object and provides simple helpers to query its size and (re)allocate storage. Intended for use as a depth attachment to framebuffer objects (FBOs) when a texture is not needed.

Note
All GL calls are wrapped with the GL() macro defined in GLEnv.h.