![]() |
LiteFX 0.3.1.2022
Computer Graphics Engine
|
Implements a Vulkan PipelineLayout. More...
#include <vulkan.hpp>
Inherits LiteFX::Rendering::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >, and LiteFX::Resource< VkPipelineLayout >.
Classes | |
class | VulkanPipelineLayoutImpl |
Public Member Functions | |
VulkanPipelineLayout (const VulkanDevice &device, Array< UniquePtr< VulkanDescriptorSetLayout > > &&descriptorSetLayouts, UniquePtr< VulkanPushConstantsLayout > &&pushConstantsLayout) | |
Initializes a new Vulkan render pipeline layout. More... | |
VulkanPipelineLayout (VulkanPipelineLayout &&) noexcept=delete | |
VulkanPipelineLayout (const VulkanPipelineLayout &) noexcept=delete | |
virtual | ~VulkanPipelineLayout () noexcept |
virtual const VulkanDevice & | device () const noexcept |
Returns a reference to the device that provides this layout. More... | |
virtual const VulkanDescriptorSetLayout & | descriptorSet (const UInt32 &space) const override |
Returns the descriptor set layout for the descriptor set that is bound to the space provided by space . More... | |
virtual Array< const VulkanDescriptorSetLayout * > | descriptorSets () const noexcept override |
virtual const VulkanPushConstantsLayout * | pushConstants () const noexcept override |
Returns the push constants layout, or nullptr , if the pipeline does not use any push constants. More... | |
![]() | |
virtual | ~PipelineLayout () noexcept=default |
virtual const descriptor_set_layout_type & | descriptorSet (const UInt32 &space) const=0 |
Returns the descriptor set layout for the descriptor set that is bound to the space provided by space . More... | |
virtual Array< const descriptor_set_layout_type * > | descriptorSets () const noexcept=0 |
virtual const push_constants_layout_type * | pushConstants () const noexcept=0 |
Returns the push constants layout, or nullptr , if the pipeline does not use any push constants. More... | |
![]() | |
virtual | ~IPipelineLayout () noexcept=default |
virtual const IDescriptorSetLayout & | descriptorSet (const UInt32 &space) const =0 |
Returns the descriptor set layout for the descriptor set that is bound to the space provided by space . More... | |
Array< const IDescriptorSetLayout * > | descriptorSets () const noexcept |
Returns all descriptor set layouts, the pipeline has been initialized with. More... | |
virtual const IPushConstantsLayout * | pushConstants () const noexcept=0 |
Returns the push constants layout, or nullptr , if the pipeline does not use any push constants. More... | |
![]() | |
Resource (const Resource &)=delete | |
Resource (Resource &&)=delete | |
virtual | ~Resource () noexcept=default |
const VkPipelineLayout & | handle () const noexcept override |
Returns the resource managed by the class. More... | |
![]() | |
virtual | ~IResource () noexcept=default |
virtual const VkPipelineLayout & | handle () const noexcept=0 |
Returns the resource managed by the class. More... | |
Additional Inherited Members | |
![]() | |
using | descriptor_set_layout_type = VulkanDescriptorSetLayout |
using | push_constants_layout_type = VulkanPushConstantsLayout |
![]() | |
Resource (const VkPipelineLayout handle) noexcept | |
Initializes the managed resource. More... | |
VkPipelineLayout & | handle () noexcept override |
Returns the resource managed by the class. More... | |
virtual VkPipelineLayout & | handle () noexcept=0 |
Returns the resource managed by the class. More... | |
Implements a Vulkan PipelineLayout.
|
explicit |
Initializes a new Vulkan render pipeline layout.
device | The parent device, the layout is created from. |
descriptorSetLayouts | The descriptor set layouts used by the pipeline. |
pushConstantsLayout | The push constants layout used by the pipeline. |
|
deletenoexcept |
|
deletenoexcept |
|
virtualnoexcept |
|
overridevirtual |
Returns the descriptor set layout for the descriptor set that is bound to the space provided by space .
Implements LiteFX::Rendering::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >.
|
overridevirtualnoexcept |
|
virtualnoexcept |
Returns a reference to the device that provides this layout.
|
overridevirtualnoexcept |
Returns the push constants layout, or nullptr
, if the pipeline does not use any push constants.
Implements LiteFX::Rendering::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >.