Files
cuber/cbt/opengl/vao.hpp
T
portersky 9114eaabc6 style: switch to east const across the codebase
- const T* -> T const* in all headers and implementations
- const T& -> T const& for copy constructor/operator= deletes
- update AGENTS.md to document east const convention
2026-05-05 22:10:00 +02:00

27 lines
408 B
C++

#pragma once
#include "glad/glad.h"
namespace cbt::opengl {
class vao {
GLuint m_id = 0;
public:
vao();
~vao();
vao(vao const&) = delete;
vao& operator=(vao const&) = delete;
vao(vao&& other) noexcept;
vao& operator=(vao&& other) noexcept;
auto bind() const -> void;
auto unbind() const -> void;
auto id() const -> GLuint;
auto valid() const -> bool;
};
}