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 |
Description |
|---|---|
|
No description. |
-
using RaeptorCogs::GAPI::GL::VAO = VertexArray¶
See also
Classes¶
Class |
Description |
|---|---|
|
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.
-
virtual void initialize() override¶
Functions¶
Function |
Description |
|---|---|
|
Register VertexArray with the FactoryRegistry. |
-
RaeptorCogs::GAPI::GL::REGISTER(Common::VertexArray, VertexArray)¶
Register VertexArray with the FactoryRegistry.