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

Vulkan graphics pipeline with descriptor set and push constant reflection. More...

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

Collaboration diagram for AeonGames::VulkanPipeline:
Collaboration graph

Public Member Functions

 VulkanPipeline (const VulkanRenderer &aVulkanRenderer, const Pipeline &aPipeline)
 Construct from a renderer and pipeline resource.
 VulkanPipeline (VulkanPipeline &&aVulkanPipeline)
 Move constructor.
 VulkanPipeline (const VulkanPipeline &)=delete
VulkanPipelineoperator= (const VulkanPipeline &)=delete
VulkanPipelineoperator= (VulkanPipeline &&)=delete
const VkPipelineLayout GetPipelineLayout () const
 Get the Vulkan pipeline layout handle.
const VkPipeline GetVkPipeline () const
 Get the Vulkan pipeline handle.
const PipelineGetPipeline () const
 Get the source Pipeline resource.
const VkDescriptorSetLayout GetDescriptorSetLayout (uint32_t name) const
 Get a descriptor set layout by its name hash.
uint32_t GetDescriptorSetIndex (uint32_t hash) const
 Get the descriptor set index for a given hash.
const VkPushConstantRange & GetPushConstantModelMatrix () const
 Get the push constant range used for the model matrix.

Detailed Description

Vulkan graphics pipeline with descriptor set and push constant reflection.

Definition at line 34 of file VulkanPipeline.hpp.

Constructor & Destructor Documentation

◆ VulkanPipeline() [1/2]

AeonGames::VulkanPipeline::VulkanPipeline ( const VulkanRenderer & aVulkanRenderer,
const Pipeline & aPipeline )

Construct from a renderer and pipeline resource.

Definition at line 186 of file VulkanPipeline.cpp.

◆ ~VulkanPipeline()

AeonGames::VulkanPipeline::~VulkanPipeline ( )

Definition at line 466 of file VulkanPipeline.cpp.

◆ VulkanPipeline() [2/2]

AeonGames::VulkanPipeline::VulkanPipeline ( VulkanPipeline && aVulkanPipeline)

Move constructor.

Definition at line 152 of file VulkanPipeline.cpp.

Member Function Documentation

◆ GetDescriptorSetIndex()

uint32_t AeonGames::VulkanPipeline::GetDescriptorSetIndex ( uint32_t hash) const

Get the descriptor set index for a given hash.

Definition at line 657 of file VulkanPipeline.cpp.

◆ GetDescriptorSetLayout()

const VkDescriptorSetLayout AeonGames::VulkanPipeline::GetDescriptorSetLayout ( uint32_t name) const

Get a descriptor set layout by its name hash.

Definition at line 487 of file VulkanPipeline.cpp.

◆ GetPipeline()

const Pipeline * AeonGames::VulkanPipeline::GetPipeline ( ) const

Get the source Pipeline resource.

Definition at line 482 of file VulkanPipeline.cpp.

◆ GetPipelineLayout()

const VkPipelineLayout AeonGames::VulkanPipeline::GetPipelineLayout ( ) const

Get the Vulkan pipeline layout handle.

Definition at line 472 of file VulkanPipeline.cpp.

◆ GetPushConstantModelMatrix()

const VkPushConstantRange & AeonGames::VulkanPipeline::GetPushConstantModelMatrix ( ) const

Get the push constant range used for the model matrix.

Definition at line 671 of file VulkanPipeline.cpp.

◆ GetVkPipeline()

const VkPipeline AeonGames::VulkanPipeline::GetVkPipeline ( ) const

Get the Vulkan pipeline handle.

Definition at line 477 of file VulkanPipeline.cpp.


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