LiteFX 0.4.1.2025
Computer Graphics Engine
|
The interface for a pipeline layout. More...
#include <rendering_api.hpp>
Inherits LiteFX::SharedObject.
Inherited by LiteFX::Rendering::PipelineLayout< DirectX12DescriptorSetLayout, DirectX12PushConstantsLayout >, LiteFX::Rendering::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >, and LiteFX::Rendering::PipelineLayout< TDescriptorSetLayout, TPushConstantsLayout >.
Public Member Functions | |
~IPipelineLayout () noexcept override=default | |
virtual const IDescriptorSetLayout & | descriptorSet (UInt32 space) const =0 |
Returns the descriptor set layout for the descriptor set that is bound to the space provided by space . | |
Enumerable< SharedPtr< const IDescriptorSetLayout > > | descriptorSets () const |
Returns all descriptor set layouts, the pipeline has been initialized with. | |
virtual const IPushConstantsLayout * | pushConstants () const noexcept=0 |
Returns the push constants layout, or nullptr , if the pipeline does not use any push constants. | |
![]() | |
virtual | ~SharedObject () noexcept=default |
Destroys the shared object. | |
template<typename TSelf > | |
auto | shared_from_this (this TSelf &&self) noexcept |
Returns a shared pointer to the current object instance. | |
template<typename TSelf > | |
auto | weak_from_this (this TSelf &&self) noexcept -> WeakPtr< std::remove_reference_t< TSelf > > |
Returns a weak pointer to the current object instance. | |
Protected Member Functions | |
IPipelineLayout () noexcept=default | |
IPipelineLayout (const IPipelineLayout &)=default | |
IPipelineLayout (IPipelineLayout &&) noexcept=default | |
IPipelineLayout & | operator= (const IPipelineLayout &)=default |
IPipelineLayout & | operator= (IPipelineLayout &&) noexcept=default |
![]() | |
SharedObject () noexcept=default | |
Initializes a new shared object. | |
SharedObject (SharedObject &&) noexcept=default | |
SharedObject (const SharedObject &)=default | |
SharedObject & | operator= (SharedObject &&) noexcept=default |
SharedObject & | operator= (const SharedObject &)=default |
Additional Inherited Members | |
![]() | |
template<typename T , typename... TArgs> | |
static auto | create (TArgs &&... args) -> SharedPtr< T > |
Generic factory method used to create instances of the shared object. | |
The interface for a pipeline layout.
|
protecteddefaultnoexcept |
|
protecteddefault |
|
protecteddefaultnoexcept |
|
overridedefaultnoexcept |
|
pure virtual |
Returns the descriptor set layout for the descriptor set that is bound to the space provided by space .
space | The space to request the descriptor set layout for. |
Implemented in LiteFX::Rendering::Backends::DirectX12PipelineLayout, LiteFX::Rendering::Backends::VulkanPipelineLayout, LiteFX::Rendering::PipelineLayout< TDescriptorSetLayout, TPushConstantsLayout >, LiteFX::Rendering::PipelineLayout< DirectX12DescriptorSetLayout, DirectX12PushConstantsLayout >, and LiteFX::Rendering::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >.
|
inline |
Returns all descriptor set layouts, the pipeline has been initialized with.
|
protecteddefault |
|
protecteddefaultnoexcept |
|
pure virtualnoexcept |
Returns the push constants layout, or nullptr
, if the pipeline does not use any push constants.
nullptr
, if the pipeline does not use any push constants.Implemented in LiteFX::Rendering::Backends::DirectX12PipelineLayout, LiteFX::Rendering::Backends::VulkanPipelineLayout, LiteFX::Rendering::PipelineLayout< TDescriptorSetLayout, TPushConstantsLayout >, LiteFX::Rendering::PipelineLayout< DirectX12DescriptorSetLayout, DirectX12PushConstantsLayout >, and LiteFX::Rendering::PipelineLayout< VulkanDescriptorSetLayout, VulkanPushConstantsLayout >.