![]() |
LiteFX 0.3.1.2022
Computer Graphics Engine
|
Defines the base class for DirectX 12 pipeline state objects. More...
#include <dx12.hpp>
Inherits LiteFX::Rendering::Pipeline< DirectX12PipelineLayout, DirectX12ShaderProgram >, and LiteFX::Resource< THandle >.
Inherited by LiteFX::Rendering::Backends::DirectX12ComputePipeline [virtual]
, and LiteFX::Rendering::Backends::DirectX12RenderPipeline [virtual]
.
Public Member Functions | |
virtual | ~DirectX12PipelineState () noexcept=default |
virtual void | use (const DirectX12CommandBuffer &commandBuffer) const noexcept=0 |
Sets the current pipeline state on the commandBuffer . More... | |
![]() | |
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... | |
![]() | |
Resource (const Resource &)=delete | |
Resource (Resource &&)=delete | |
virtual | ~Resource () noexcept=default |
const THandle & | handle () const noexcept override |
Returns the resource managed by the class. More... | |
![]() | |
virtual | ~IResource () noexcept=default |
virtual const THandle & | handle () const noexcept=0 |
Returns the resource managed by the class. More... | |
Additional Inherited Members | |
![]() | |
using | shader_program_type = DirectX12ShaderProgram |
using | pipeline_layout_type = DirectX12PipelineLayout |
![]() | |
StateResource () noexcept | |
String & | name () noexcept |
![]() | |
Resource (const THandle handle) noexcept | |
Initializes the managed resource. More... | |
THandle & | handle () noexcept override |
Returns the resource managed by the class. More... | |
virtual THandle & | handle () noexcept=0 |
Returns the resource managed by the class. More... | |
Defines the base class for DirectX 12 pipeline state objects.
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |
Sets the current pipeline state on the commandBuffer .
commandBuffer | The command buffer to set the current pipeline state on. |
Implemented in LiteFX::Rendering::Backends::DirectX12RenderPipeline, and LiteFX::Rendering::Backends::DirectX12ComputePipeline.