LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::IPipeline Class Referenceabstract

The interface for a pipeline. More...

#include <rendering_api.hpp>

Inherits LiteFX::Rendering::IStateResource.

Inherited by LiteFX::Rendering::Pipeline< DirectX12PipelineLayout, DirectX12ShaderProgram > [virtual], LiteFX::Rendering::Pipeline< VulkanPipelineLayout, VulkanShaderProgram > [virtual], LiteFX::Rendering::IComputePipeline [virtual], LiteFX::Rendering::IRenderPipeline [virtual], and LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram > [virtual].

Public Member Functions

virtual ~IPipeline () noexcept=default
 
SharedPtr< const IShaderProgramprogram () const noexcept
 Returns the shader program used by the pipeline. More...
 
SharedPtr< const IPipelineLayoutlayout () const noexcept
 Returns the layout of the render pipeline. More...
 
- Public Member Functions inherited from LiteFX::Rendering::IStateResource
virtual ~IStateResource () noexcept=default
 
virtual const Stringname () const noexcept=0
 Returns the name of the resource. More...
 

Detailed Description

The interface for a pipeline.

Constructor & Destructor Documentation

◆ ~IPipeline()

virtual LiteFX::Rendering::IPipeline::~IPipeline ( )
virtualdefaultnoexcept

Member Function Documentation

◆ layout()

SharedPtr< const IPipelineLayout > LiteFX::Rendering::IPipeline::layout ( ) const
inlinenoexcept

Returns the layout of the render pipeline.

Returns
The layout of the render pipeline.

◆ program()

SharedPtr< const IShaderProgram > LiteFX::Rendering::IPipeline::program ( ) const
inlinenoexcept

Returns the shader program used by the pipeline.

Returns
The shader program used by the pipeline.