VertexArray

VertexArray interface.

Overview

Typical use cases:

  • Defining OpenGL-specific vertex array implementations

Header

<RaeptorCogs/GAPI/GL/Ressources/VertexArray.hpp>

Metadata

Author

Estorc

Version

v1.0

Copyright

Copyright (c) 2025 Estorc MIT License.

Types

Type Definitions

Type

Description

RaeptorCogs::GAPI::GL::VAO

No description.

using RaeptorCogs::GAPI::GL::VAO = VertexArray

Classes

Classes

Class

Description

RaeptorCogs::GAPI::GL::VertexArray

No description.

class VertexArray : public RaeptorCogs::GAPI::Common::VertexArray

Public Functions

virtual void initialize() override

Initialize the vertex array.

Initializes the OpenGL vertex array object.

Note

Overrides the pure virtual method from the base class.

virtual void bind() override

Bind the vertex array for use.

Binds the OpenGL vertex array object.

Note

Overrides the pure virtual method from the base class.

virtual void unbind() const override

Unbind the vertex array.

Unbinds the OpenGL vertex array object.

Note

Overrides the pure virtual method from the base class.

Functions

Functions

Function

Description

RaeptorCogs::GAPI::GL::REGISTER(Common::VertexArray, VertexArray)

Register VertexArray with the FactoryRegistry.

RaeptorCogs::GAPI::GL::REGISTER(Common::VertexArray, VertexArray)

Register VertexArray with the FactoryRegistry.