18#ifndef INCLUDED_RENDERER_BACKEND_GL_PIPELINESTATE
19#define INCLUDED_RENDERER_BACKEND_GL_PIPELINESTATE
52 static std::unique_ptr<CGraphicsPipelineState>
Create(
76 static std::unique_ptr<CComputePipelineState>
Create(
Definition: PipelineState.h:63
CComputePipelineState()=default
const SComputePipelineStateDesc & GetDesc() const
Definition: PipelineState.h:71
static std::unique_ptr< CComputePipelineState > Create(CDevice *device, const SComputePipelineStateDesc &desc)
Definition: PipelineState.cpp:49
~CComputePipelineState() override=default
IDevice * GetDevice() override
Definition: PipelineState.cpp:58
IShaderProgram * GetShaderProgram() const override
Definition: PipelineState.h:69
CDevice * m_Device
Definition: PipelineState.h:81
SComputePipelineStateDesc m_Desc
Definition: PipelineState.h:83
Definition: PipelineState.h:39
const SGraphicsPipelineStateDesc & GetDesc() const
Definition: PipelineState.h:47
static std::unique_ptr< CGraphicsPipelineState > Create(CDevice *device, const SGraphicsPipelineStateDesc &desc)
Definition: PipelineState.cpp:34
CDevice * m_Device
Definition: PipelineState.h:57
IDevice * GetDevice() override
Definition: PipelineState.cpp:43
IShaderProgram * GetShaderProgram() const override
Definition: PipelineState.h:45
SGraphicsPipelineStateDesc m_Desc
Definition: PipelineState.h:59
CGraphicsPipelineState()=default
~CGraphicsPipelineState() override=default
A holder for precompiled compute pipeline description.
Definition: PipelineState.h:207
A holder for precompiled graphics pipeline description.
Definition: PipelineState.h:198
IShaderProgram is a container for multiple shaders of different types.
Definition: IShaderProgram.h:81
Backend
Definition: Backend.h:28
Definition: VideoMode.h:29
Definition: PipelineState.h:175
IShaderProgram * shaderProgram
Definition: PipelineState.h:178
Definition: PipelineState.h:165
IShaderProgram * shaderProgram
Definition: PipelineState.h:168