![]() |
LiteFX 0.3.1.2022
Computer Graphics Engine
|
Represents a the layout of a RenderPipeline or a ComputePipeline. More...
#include <rendering.hpp>
Inherits LiteFX::Rendering::IPipelineLayout.
Public Types | |
using | descriptor_set_layout_type = TDescriptorSetLayout |
using | push_constants_layout_type = TPushConstantsLayout |
Public Member Functions | |
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... | |
Represents a the layout of a RenderPipeline or a ComputePipeline.
TDescriptorSetLayout | The type of the descriptor set layout. Must implement DescriptorSetLayout. |
TPushConstantsLayout | The type of the push constants layout. Must implement PushConstantsLayout. |
using LiteFX::Rendering::PipelineLayout< TDescriptorSetLayout, TPushConstantsLayout >::descriptor_set_layout_type = TDescriptorSetLayout |
using LiteFX::Rendering::PipelineLayout< TDescriptorSetLayout, TPushConstantsLayout >::push_constants_layout_type = TPushConstantsLayout |
|
virtualdefaultnoexcept |
|
pure virtual |
Returns the descriptor set layout for the descriptor set that is bound to the space provided by space .
Implements LiteFX::Rendering::IPipelineLayout.
Implemented in LiteFX::Rendering::Backends::DirectX12PipelineLayout, and LiteFX::Rendering::Backends::VulkanPipelineLayout.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
Returns the push constants layout, or nullptr
, if the pipeline does not use any push constants.
Implements LiteFX::Rendering::IPipelineLayout.
Implemented in LiteFX::Rendering::Backends::DirectX12PipelineLayout, and LiteFX::Rendering::Backends::VulkanPipelineLayout.