LiteFX 0.4.1.2025
Computer Graphics Engine
|
Represents a pipeline state. More...
#include <rendering.hpp>
Inherits LiteFX::Rendering::IPipeline, and LiteFX::Rendering::StateResource.
Inherited by LiteFX::Rendering::ComputePipeline< TPipelineLayout, TShaderProgram > [virtual]
, LiteFX::Rendering::RayTracingPipeline< TPipelineLayout, TShaderProgram > [virtual]
, and LiteFX::Rendering::RenderPipeline< TPipelineLayout, TShaderProgram, TInputAssembler, TRasterizer > [virtual]
.
Public Types | |
using | shader_program_type = TShaderProgram |
using | pipeline_layout_type = TPipelineLayout |
Public Member Functions | |
~Pipeline () noexcept override=default | |
virtual SharedPtr< const shader_program_type > | program () const noexcept=0 |
virtual SharedPtr< const pipeline_layout_type > | layout () const noexcept=0 |
![]() | |
~IPipeline () noexcept override=default | |
SharedPtr< const IShaderProgram > | program () const noexcept |
Returns the shader program used by the pipeline. | |
SharedPtr< const IPipelineLayout > | layout () const noexcept |
Returns the layout of the render pipeline. | |
![]() | |
virtual | ~IStateResource () noexcept=default |
Releases the state resource instance. | |
![]() | |
~StateResource () noexcept override | |
Releases the state resource instance. | |
const String & | name () const noexcept override |
Returns the name of the resource.
| |
Protected Member Functions | |
Pipeline () noexcept=default | |
Pipeline (const Pipeline &)=default | |
Pipeline (Pipeline &&) noexcept=default | |
Pipeline & | operator= (const Pipeline &)=default |
Pipeline & | operator= (Pipeline &&) noexcept=default |
![]() | |
IPipeline () noexcept=default | |
IPipeline (const IPipeline &)=delete | |
IPipeline (IPipeline &&) noexcept=default | |
IPipeline & | operator= (const IPipeline &)=delete |
IPipeline & | operator= (IPipeline &&) noexcept=default |
![]() | |
IStateResource () noexcept=default | |
IStateResource (const IStateResource &)=delete | |
IStateResource (IStateResource &&) noexcept=default | |
IStateResource & | operator= (const IStateResource &)=delete |
IStateResource & | operator= (IStateResource &&) noexcept=default |
![]() | |
StateResource () | |
Initializes a new state resource instance with a default name. | |
StateResource (StringView name) | |
Initializes a new state resource instance. | |
StateResource (StateResource &&) noexcept | |
StateResource & | operator= (StateResource &&) noexcept |
StateResource (const StateResource &)=delete | |
StateResource & | operator= (const StateResource &)=delete |
String & | name () noexcept |
Represents a pipeline state.
TPipelineLayout | The type of the render pipeline layout. Must implement PipelineLayout. |
TShaderProgram | The type of the shader program. Must implement ShaderProgram. |
using LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram >::pipeline_layout_type = TPipelineLayout |
using LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram >::shader_program_type = TShaderProgram |
|
protecteddefaultnoexcept |
|
protecteddefault |
|
protecteddefaultnoexcept |
|
overridedefaultnoexcept |
|
pure virtualnoexcept |
Implemented in LiteFX::Rendering::Backends::DirectX12ComputePipeline, LiteFX::Rendering::Backends::DirectX12RayTracingPipeline, LiteFX::Rendering::Backends::DirectX12RenderPipeline, LiteFX::Rendering::Backends::VulkanComputePipeline, LiteFX::Rendering::Backends::VulkanRayTracingPipeline, and LiteFX::Rendering::Backends::VulkanRenderPipeline.
|
protecteddefault |
|
protecteddefaultnoexcept |
|
pure virtualnoexcept |
Implemented in LiteFX::Rendering::Backends::DirectX12ComputePipeline, LiteFX::Rendering::Backends::DirectX12RayTracingPipeline, LiteFX::Rendering::Backends::DirectX12RenderPipeline, LiteFX::Rendering::Backends::VulkanComputePipeline, LiteFX::Rendering::Backends::VulkanRayTracingPipeline, and LiteFX::Rendering::Backends::VulkanRenderPipeline.