Buffer

Buffer interface.

Overview

Typical use cases:

  • Defining Vulkan-specific buffer implementations

Header

<RaeptorCogs/GAPI/Vulkan/Ressources/Buffer.hpp>

Metadata

Author

Estorc

Version

v1.0

Copyright

Copyright (c) 2025 Estorc MIT License.

Types

Type Definitions

Type

Description

RaeptorCogs::GAPI::Vulkan::EBO

No description.

RaeptorCogs::GAPI::Vulkan::FBO

No description.

RaeptorCogs::GAPI::Vulkan::RBO

No description.

RaeptorCogs::GAPI::Vulkan::SSBO

No description.

RaeptorCogs::GAPI::Vulkan::VBO

No description.

using RaeptorCogs::GAPI::Vulkan::EBO = Elementbuffer

using RaeptorCogs::GAPI::Vulkan::FBO = Framebuffer

using RaeptorCogs::GAPI::Vulkan::RBO = Renderbuffer

using RaeptorCogs::GAPI::Vulkan::SSBO = ShaderStorageBuffer

using RaeptorCogs::GAPI::Vulkan::VBO = Vertexbuffer

Classes

Classes

Class

Description

RaeptorCogs::GAPI::Vulkan::Elementbuffer

No description.

RaeptorCogs::GAPI::Vulkan::Framebuffer

No description.

RaeptorCogs::GAPI::Vulkan::Renderbuffer

No description.

RaeptorCogs::GAPI::Vulkan::ShaderStorageBuffer

No description.

RaeptorCogs::GAPI::Vulkan::Vertexbuffer

No description.

class Elementbuffer : public RaeptorCogs::GAPI::Common::Elementbuffer

Public Functions

virtual void initialize() override

Initialize the element buffer.

Initializes the Vulkan 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 Vulkan element buffer object.

Note

Overrides the pure virtual method from the base class.

virtual void unbind() const override

Unbind the element buffer.

Unbinds the Vulkan element buffer object.

Note

Overrides the pure virtual method from the base class.

class Framebuffer : public RaeptorCogs::GAPI::Common::Framebuffer

Public Functions

virtual void initialize() override

Initialize the framebuffer.

Initializes the Vulkan framebuffer object.

Note

Overrides the pure virtual method from the base class.

virtual void bind() override

Bind the framebuffer for use.

Binds the Vulkan framebuffer object.

Note

Overrides the pure virtual method from the base class.

virtual void unbind() const override

Unbind the framebuffer.

Unbinds the Vulkan framebuffer object.

Note

Overrides the pure virtual method from the base class.

class Renderbuffer : public RaeptorCogs::GAPI::Common::Renderbuffer

Public Functions

virtual void initialize() override

Initialize the renderbuffer.

Initializes the Vulkan renderbuffer object.

Note

Overrides the pure virtual method from the base class.

virtual void bind() override

Bind the renderbuffer for use.

Binds the Vulkan renderbuffer object.

Note

Overrides the pure virtual method from the base class.

virtual void unbind() const override

Unbind the renderbuffer.

Unbinds the Vulkan renderbuffer object.

Note

Overrides the pure virtual method from the base class.

class ShaderStorageBuffer : public RaeptorCogs::GAPI::Common::ShaderStorageBuffer

Public Functions

virtual void initialize() override

Initialize the shader storage buffer.

Initializes the Vulkan 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 Vulkan 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 Vulkan shader storage buffer object.

Note

Overrides the pure virtual method from the base class.

class Vertexbuffer : public RaeptorCogs::GAPI::Common::Vertexbuffer

Public Functions

virtual void initialize() override

Initialize the vertex buffer.

Initializes the Vulkan 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 Vulkan vertex buffer object.

Note

Overrides the pure virtual method from the base class.

virtual void unbind() const override

Unbind the vertex buffer.

Unbinds the Vulkan vertex buffer object.

Note

Overrides the pure virtual method from the base class.

Functions

Functions

Function

Description

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::Elementbuffer, Elementbuffer)

Register Elementbuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::Framebuffer, Framebuffer)

Register Framebuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::Renderbuffer, Renderbuffer)

Register Renderbuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::ShaderStorageBuffer, ShaderStorageBuffer)

Register ShaderStorageBuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::Vertexbuffer, Vertexbuffer)

Register Vertexbuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::Elementbuffer, Elementbuffer)

Register Elementbuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::Framebuffer, Framebuffer)

Register Framebuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::Renderbuffer, Renderbuffer)

Register Renderbuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::ShaderStorageBuffer, ShaderStorageBuffer)

Register ShaderStorageBuffer with the FactoryRegistry.

RaeptorCogs::GAPI::Vulkan::REGISTER(Common::Vertexbuffer, Vertexbuffer)

Register Vertexbuffer with the FactoryRegistry.