LiteFX 0.3.1.2022
Computer Graphics Engine
|
Represents a graphics Pipeline. More...
#include <rendering.hpp>
Inherits LiteFX::Rendering::IRenderPipeline, and LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram >.
Public Types | |
using | input_assembler_type = TInputAssembler |
using | rasterizer_type = TRasterizer |
Public Types inherited from LiteFX::Rendering::Pipeline< TPipelineLayout, TShaderProgram > | |
using | shader_program_type = TShaderProgram |
using | pipeline_layout_type = TPipelineLayout |
Public Member Functions | |
virtual | ~RenderPipeline () noexcept=default |
virtual SharedPtr< input_assembler_type > | inputAssembler () const noexcept=0 |
virtual SharedPtr< rasterizer_type > | rasterizer () const noexcept=0 |
Public Member Functions inherited from LiteFX::Rendering::IRenderPipeline | |
virtual | ~IRenderPipeline () noexcept=default |
SharedPtr< IInputAssembler > | inputAssembler () const noexcept |
Returns the input assembler state used by the render pipeline. More... | |
SharedPtr< IRasterizer > | rasterizer () const noexcept |
Returns the rasterizer state used by the render pipeline. More... | |
virtual Array< const IViewport * > | viewports () const noexcept=0 |
Returns the viewports, the render pipeline can draw to. More... | |
virtual Array< const IScissor * > | scissors () const noexcept=0 |
Returns the scissors of the render pipeline. More... | |
virtual UInt32 & | stencilRef () const noexcept=0 |
Returns a reference to the stencil reference value. More... | |
virtual Vector4f & | blendFactors () const noexcept=0 |
Returns a reference of the constant blend factors for the pipeline. More... | |
virtual const bool & | alphaToCoverage () const noexcept=0 |
Returns true , if the pipeline uses Alpha-to-Coverage multi-sampling. More... | |
Public Member Functions inherited from LiteFX::Rendering::IPipeline | |
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... | |
Public Member Functions inherited from LiteFX::Rendering::IStateResource | |
virtual | ~IStateResource () noexcept=default |
virtual const String & | name () 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_type > | program () const noexcept=0 |
virtual SharedPtr< const pipeline_layout_type > | layout () 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 String & | name () const noexcept override |
Returns the name of the resource. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from LiteFX::Rendering::StateResource | |
StateResource () noexcept | |
String & | name () noexcept |
Represents a graphics Pipeline.
TPipelineLayout | The type of the render pipeline layout. Must implement PipelineLayout. |
TShaderProgram | The type of the shader program. Must implement ShaderProgram. |
TInputAssembler | The type of the input assembler state. Must implement InputAssembler. |
TRasterizer | The type of the rasterizer state. Must implement Rasterizer. |
using LiteFX::Rendering::RenderPipeline< TPipelineLayout, TShaderProgram, TInputAssembler, TRasterizer >::input_assembler_type = TInputAssembler |
using LiteFX::Rendering::RenderPipeline< TPipelineLayout, TShaderProgram, TInputAssembler, TRasterizer >::rasterizer_type = TRasterizer |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
|
pure virtualnoexcept |