Buffer¶
Buffer interface.
Overview¶
Typical use cases:
Defining a common interface for different buffer types
Header¶
<RaeptorCogs/GAPI/GL/Ressources/Buffer.hpp>
Metadata¶
- Author
Estorc
- Version
v1.0
- Copyright
Copyright (c) 2025 Estorc MIT License.
Types¶
Type |
Description |
|---|---|
|
No description. |
|
No description. |
|
No description. |
|
No description. |
|
No description. |
-
using RaeptorCogs::GAPI::GL::EBO = Elementbuffer¶
See also
-
using RaeptorCogs::GAPI::GL::FBO = Framebuffer¶
See also
-
using RaeptorCogs::GAPI::GL::RBO = Renderbuffer¶
See also
-
using RaeptorCogs::GAPI::GL::SSBO = ShaderStorageBuffer¶
See also
-
using RaeptorCogs::GAPI::GL::VBO = Vertexbuffer¶
See also
Classes¶
Class |
Description |
|---|---|
|
No description. |
|
No description. |
|
No description. |
|
No description. |
|
No description. |
-
class Elementbuffer : public RaeptorCogs::GAPI::Common::Elementbuffer¶
-
Public Functions
-
virtual void initialize() override¶
Initialize the element buffer.
Initializes the OpenGL element buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void bind() override¶
Bind the element buffer for use.
Binds the OpenGL element buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void unbind() const override¶
Unbind the element buffer.
Unbinds the OpenGL element buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void initialize() override¶
-
class Framebuffer : public RaeptorCogs::GAPI::Common::Framebuffer¶
-
Public Functions
-
virtual void initialize() override¶
Initialize the framebuffer.
Initializes the OpenGL framebuffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void bind() override¶
Bind the framebuffer for use.
Binds the OpenGL framebuffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void unbind() const override¶
Unbind the framebuffer.
Unbinds the OpenGL framebuffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void initialize() override¶
-
class Renderbuffer : public RaeptorCogs::GAPI::Common::Renderbuffer¶
-
Public Functions
-
virtual void initialize() override¶
Initialize the renderbuffer.
Initializes the OpenGL renderbuffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void bind() override¶
Bind the renderbuffer for use.
Binds the OpenGL renderbuffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void unbind() const override¶
Unbind the renderbuffer.
Unbinds the OpenGL renderbuffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void initialize() override¶
-
class ShaderStorageBuffer : public RaeptorCogs::GAPI::Common::ShaderStorageBuffer¶
-
Public Functions
-
virtual void initialize() override¶
Initialize the shader storage buffer.
Initializes the OpenGL shader storage buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void bind() override¶
Bind the shader storage buffer for use.
Binds the OpenGL shader storage buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void unbind() const override¶
Unbind the shader storage buffer.
Unbinds the OpenGL shader storage buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void initialize() override¶
-
class Vertexbuffer : public RaeptorCogs::GAPI::Common::Vertexbuffer¶
-
Public Functions
-
virtual void initialize() override¶
Initialize the vertex buffer.
Initializes the OpenGL vertex buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void bind() override¶
Bind the vertex buffer for use.
Binds the OpenGL vertex buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void unbind() const override¶
Unbind the vertex buffer.
Unbinds the OpenGL vertex buffer object.
Note
Overrides the pure virtual method from the base class.
-
virtual void initialize() override¶
Functions¶
Function |
Description |
|---|---|
|
Register Elementbuffer with the FactoryRegistry. |
|
Register Framebuffer with the FactoryRegistry. |
|
Register Renderbuffer with the FactoryRegistry. |
|
Register ShaderStorageBuffer with the FactoryRegistry. |
|
Register Vertexbuffer with the FactoryRegistry. |
-
RaeptorCogs::GAPI::GL::REGISTER(Common::Elementbuffer, Elementbuffer)¶
Register Elementbuffer with the FactoryRegistry.
-
RaeptorCogs::GAPI::GL::REGISTER(Common::Framebuffer, Framebuffer)¶
Register Framebuffer with the FactoryRegistry.
-
RaeptorCogs::GAPI::GL::REGISTER(Common::Renderbuffer, Renderbuffer)¶
Register Renderbuffer with the FactoryRegistry.
-
RaeptorCogs::GAPI::GL::REGISTER(Common::ShaderStorageBuffer, ShaderStorageBuffer)¶
Register ShaderStorageBuffer with the FactoryRegistry.
-
RaeptorCogs::GAPI::GL::REGISTER(Common::Vertexbuffer, Vertexbuffer)¶
Register Vertexbuffer with the FactoryRegistry.