Skip to content

File UniformBuffer.h

FileList > buffers > UniformBuffer.h

Go to the source code of this file

OpenGL uniform buffer object (UBO) abstraction. More...

  • #include "Buffers.h"
  • #include <GLFW/glfw3.h>

Classes

Type Name
class UniformBuffer
OpenGL uniform buffer object wrapper with template-based updates.

Detailed Description

UniformBuffer provides a RAII wrapper around an OpenGL UBO for efficient sharing of uniform data across multiple shaders. Inherits copy, move, and deep-copy semantics from Buffers. Supports template-based updates for type-safe data transfer.

Note:

All OpenGL resources are released deterministically in the destructor.


The documentation for this class was generated from the following file src/render/buffers/UniformBuffer.h