SPARK
0.1.0
A general purpose game engine written in C++.
|
Interface for pipeline layouts. More...
#include <Pipeline.h>
Public Member Functions | |
virtual const IDescriptorSetLayout & | descriptorSet (unsigned int space) const =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. | |
virtual const IPushConstantsLayout * | pushConstants () const noexcept=0 |
Gets the push constants layout, or nullptr, if the pipeline does not use any push constants. | |
Interface for pipeline layouts.
|
nodiscardpure virtual |
Gets the descriptor set layout bound to the given space
.
space | The space to request the descriptor set layout for. |
space
. Implemented in spark::render::PipelineLayout< DescriptorSetLayoutType, PushConstantsLayoutType >, and spark::render::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >.
|
inlinenodiscardnoexcept |
Gets all descriptor set layouts the pipeline has been initialized with.
|
nodiscardpure virtualnoexcept |
Gets the push constants layout, or nullptr, if the pipeline does not use any push constants.
Implemented in spark::render::PipelineLayout< DescriptorSetLayoutType, PushConstantsLayoutType >, spark::render::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >, and spark::render::vk::VulkanPipelineLayout.