Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
AeonGames::VulkanMesh Class Reference

Vulkan mesh wrapper managing vertex and index buffer resources. More...

#include <C:/Code/AeonEngine/engine/renderers/vulkan/VulkanMesh.hpp>

Collaboration diagram for AeonGames::VulkanMesh:
Collaboration graph

Public Member Functions

 VulkanMesh (const VulkanRenderer &aVulkanRenderer, const Mesh &aMesh)
 Construct from a renderer and mesh resource.
 VulkanMesh (VulkanMesh &&aVulkanMesh)
 Move constructor.
 VulkanMesh (const VulkanMesh &aVulkanMesh)=delete
VulkanMeshoperator= (const VulkanMesh &aVulkanMesh)=delete
VulkanMeshoperator= (VulkanMesh &&aVulkanMesh)=delete
void Bind (VkCommandBuffer aVkCommandBuffer) const
 Bind the mesh vertex and index buffers to a command buffer.

Detailed Description

Vulkan mesh wrapper managing vertex and index buffer resources.

Definition at line 27 of file VulkanMesh.hpp.

Constructor & Destructor Documentation

◆ VulkanMesh() [1/2]

AeonGames::VulkanMesh::VulkanMesh ( const VulkanRenderer & aVulkanRenderer,
const Mesh & aMesh )

Construct from a renderer and mesh resource.

Definition at line 35 of file VulkanMesh.cpp.

◆ ~VulkanMesh()

AeonGames::VulkanMesh::~VulkanMesh ( )

Definition at line 66 of file VulkanMesh.cpp.

◆ VulkanMesh() [2/2]

AeonGames::VulkanMesh::VulkanMesh ( VulkanMesh && aVulkanMesh)

Move constructor.

Definition at line 71 of file VulkanMesh.cpp.

Member Function Documentation

◆ Bind()

void AeonGames::VulkanMesh::Bind ( VkCommandBuffer aVkCommandBuffer) const

Bind the mesh vertex and index buffers to a command buffer.

Definition at line 91 of file VulkanMesh.cpp.


The documentation for this class was generated from the following files: