SPARK
0.1.0
A general purpose game engine written in C++.
|
Vulkan implementation of IPipelineLayout. More...
#include <VulkanPipelineLayout.h>
Classes | |
struct | Impl |
Public Member Functions | |
VulkanPipelineLayout (const VulkanDevice &device, std::vector< std::unique_ptr< VulkanDescriptorSetLayout > > &&descriptor_set_layouts, std::unique_ptr< VulkanPushConstantsLayout > &&push_constants_layout) | |
Initializes a new VulkanPipelineLayout. | |
VulkanPipelineLayout (const VulkanPipelineLayout &other)=delete | |
VulkanPipelineLayout (VulkanPipelineLayout &&other) noexcept=delete | |
VulkanPipelineLayout & | operator= (const VulkanPipelineLayout &other)=delete |
VulkanPipelineLayout & | operator= (VulkanPipelineLayout &&other) noexcept=delete |
const VulkanDevice & | device () const noexcept |
Gets the parent VulkanDevice the pipeline layout layout has been created from. | |
const VulkanDescriptorSetLayout & | descriptorSet (unsigned space) const override |
Gets the descriptor set layout bound to the given space . | |
std::vector< const VulkanDescriptorSetLayout * > | descriptorSets () const noexcept override |
Gets all descriptor set layouts the pipeline has been initialized with. | |
const VulkanPushConstantsLayout * | pushConstants () const noexcept override |
Gets the push constants layout, or nullptr, if the pipeline does not use any push constants. | |
![]() | |
const descriptor_set_layout_type & | descriptorSet (unsigned int space) const override=0 |
Gets the descriptor set layout bound to the given space . | |
![]() | |
std::vector< const IDescriptorSetLayout * > | descriptorSets () const noexcept |
Gets all descriptor set layouts the pipeline has been initialized with. | |
![]() | |
Resource (VkPipelineLayout handle) noexcept | |
Initializes the managed resource with the given handle. | |
Resource (const Resource &other)=delete | |
Resource (Resource &&other) noexcept=delete | |
Resource & | operator= (const Resource &other)=delete |
Resource & | operator= (Resource &&other) noexcept=delete |
const VkPipelineLayout & | handle () const final |
Gets the managed resource handle. | |
Additional Inherited Members | |
![]() | |
using | descriptor_set_layout_type |
using | push_constants_layout_type |
![]() | |
using | handle_type |
![]() | |
VkPipelineLayout & | handle () final |
Gets the managed resource handle. | |
Vulkan implementation of IPipelineLayout.
|
explicit |
Initializes a new VulkanPipelineLayout.
device | The parent VulkanDevice, the pipeline layout is created from. |
descriptor_set_layouts | The descriptor set layouts used by the pipeline. |
push_constants_layout | The push constants layout used by the pipeline. |
|
nodiscardoverride |
Gets the descriptor set layout bound to the given space
.
space | The space to request the descriptor set layout for. |
space
.
|
nodiscardoverridevirtualnoexcept |
Gets all descriptor set layouts the pipeline has been initialized with.
Implements spark::render::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >.
|
nodiscardnoexcept |
Gets the parent VulkanDevice the pipeline layout layout has been created from.
|
nodiscardoverridevirtualnoexcept |
Gets the push constants layout, or nullptr, if the pipeline does not use any push constants.
Implements spark::render::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >.