![]() |
LiteFX 0.3.1.2022
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 >, and LiteFX::Rendering::RenderPipeline< TPipelineLayout, TShaderProgram, TInputAssembler, TRasterizer >.
Public Types | |
using | shader_program_type = TShaderProgram |
using | pipeline_layout_type = TPipelineLayout |
Public Member Functions | |
virtual | ~Pipeline () noexcept=default |
virtual SharedPtr< const shader_program_type > | program () const noexcept=0 |
virtual SharedPtr< const pipeline_layout_type > | layout () const noexcept=0 |
![]() | |
virtual | ~IPipeline () noexcept=default |
SharedPtr< const IShaderProgram > | program () const noexcept |
Returns the shader program used by the pipeline. More... | |
SharedPtr< const IPipelineLayout > | layout () const noexcept |
Returns the layout of the render pipeline. More... | |
![]() | |
virtual | ~IStateResource () noexcept=default |
virtual const String & | name () const noexcept=0 |
Returns the name of the resource. More... | |
![]() | |
StateResource (StringView name) | |
Initializes a new state resource instance. More... | |
StateResource (StateResource &&)=delete | |
StateResource (const StateResource &)=delete | |
virtual | ~StateResource () noexcept |
virtual const String & | name () const noexcept override |
Returns the name of the resource. More... | |
Additional Inherited Members | |
![]() | |
StateResource () noexcept | |
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 |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |