Skip to content

File VertexBuffer.h

FileList > buffers > VertexBuffer.h

Go to the source code of this file

OpenGL vertex buffer object (VBO) abstraction. More...

  • #include "Buffers.h"
  • #include <vector>

Classes

Type Name
class VertexBuffer
OpenGL vertex buffer object wrapper.

Detailed Description

VertexBuffer provides a RAII wrapper around an OpenGL VBO for storing vertex attribute data (positions, normals, UVs, etc.). Inherits copy, move, and deep-copy semantics from Buffers.

Note:

All OpenGL resources are released deterministically in the destructor.


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