LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::ComputePipeline< TPipelineLayout, TShaderProgram > Class Template Reference

Represents a compute Pipeline. More...

#include <rendering.hpp>

Inherits LiteFX::Rendering::IComputePipeline, and LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram >.

Public Member Functions

virtual ~ComputePipeline () noexcept=default
 
- Public Member Functions inherited from LiteFX::Rendering::IComputePipeline
virtual ~IComputePipeline () noexcept=default
 
- Public Member Functions inherited from LiteFX::Rendering::IPipeline
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...
 
- Public Member Functions inherited from LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram >
virtual ~Pipeline () noexcept=default
 
virtual SharedPtr< const shader_program_typeprogram () const noexcept=0
 
virtual SharedPtr< const pipeline_layout_typelayout () const noexcept=0
 
- Public Member Functions inherited from LiteFX::Rendering::StateResource
 StateResource (StringView name)
 Initializes a new state resource instance. More...
 
 StateResource (StateResource &&)=delete
 
 StateResource (const StateResource &)=delete
 
virtual ~StateResource () noexcept
 
virtual const Stringname () const noexcept override
 Returns the name of the resource. More...
 

Additional Inherited Members

- Public Types inherited from LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram >
using shader_program_type = TShaderProgram
 
using pipeline_layout_type = TPipelineLayout
 
- Protected Member Functions inherited from LiteFX::Rendering::StateResource
 StateResource () noexcept
 
Stringname () noexcept
 

Detailed Description

template<typename TPipelineLayout, typename TShaderProgram>
class LiteFX::Rendering::ComputePipeline< TPipelineLayout, TShaderProgram >

Represents a compute Pipeline.

Template Parameters
TPipelineLayoutThe type of the render pipeline layout. Must implement PipelineLayout.
TShaderProgramThe type of the shader program. Must implement ShaderProgram.
See also
ComputePipelineBuilder

Constructor & Destructor Documentation

◆ ~ComputePipeline()

template<typename TPipelineLayout , typename TShaderProgram >
virtual LiteFX::Rendering::ComputePipeline< TPipelineLayout, TShaderProgram >::~ComputePipeline ( )
virtualdefaultnoexcept