36 const GLuint
getId()
const;
54 void setSize(uint32_t width, uint32_t height);
Cross‑platform OpenGL window/context helper for desktop and Emscripten.
void setSize(uint32_t width, uint32_t height)
Reallocate storage to a new size.
Definition GLDepthBuffer.cpp:23
uint32_t getHeight() const
Stored height in pixels.
Definition GLDepthBuffer.h:43
~GLDepthBuffer()
Destroy and delete the GL renderbuffer name.
Definition GLDepthBuffer.cpp:15
uint32_t getWidth() const
Stored width in pixels.
Definition GLDepthBuffer.h:41
GLDepthBuffer(uint32_t width=0, uint32_t height=0)
Construct a depth renderbuffer and allocate storage.
Definition GLDepthBuffer.cpp:4
const GLuint getId() const
Retrieve the OpenGL renderbuffer object name.
Definition GLDepthBuffer.cpp:19