Skip to main content

PlottingOpenGL::GLVertexArray

PlottingOpenGL::GLVertexArray

RAII wrapper for a Vertex Array Object. More…

#include <GLContext.hpp>

Public Functions

Name
GLVertexArray()
~GLVertexArray()
GLVertexArray(GLVertexArray const & ) =delete
GLVertexArray & operator=(GLVertexArray const & ) =delete
GLVertexArray(GLVertexArray && other)
GLVertexArray & operator=(GLVertexArray && other)
bool create()
void destroy()
bool bind()
void release()
bool isCreated() const

Detailed Description

class PlottingOpenGL::GLVertexArray;

RAII wrapper for a Vertex Array Object.

VAOs store vertex attribute configurations, reducing state changes during rendering.

Public Functions Documentation

function GLVertexArray

GLVertexArray()

function ~GLVertexArray

~GLVertexArray()

function GLVertexArray

GLVertexArray(
    GLVertexArray const & 
) =delete

function operator=

GLVertexArray & operator=(
    GLVertexArray const & 
) =delete

function GLVertexArray

GLVertexArray(
    GLVertexArray && other
)

function operator=

GLVertexArray & operator=(
    GLVertexArray && other
)

function create

bool create()

function destroy

void destroy()

function bind

bool bind()

function release

void release()

function isCreated

bool isCreated() const

Updated on 2026-11-13 at 20:25:41 +0000