Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
CShaderPass Class Reference

Implements a render pass consisting of a pipeline state and a shader, used by CShaderTechnique. More...

#include <ShaderTechnique.h>

Public Member Functions

 CShaderPass (std::unique_ptr< Renderer::Backend::IGraphicsPipelineState > pipelineState, const CShaderProgramPtr &shader)
 
 MOVABLE (CShaderPass)
 
const CShaderProgramPtrGetShaderProgram () const noexcept
 
Renderer::Backend::IGraphicsPipelineStateGetPipelineState () const noexcept
 

Private Attributes

CShaderProgramPtr m_Shader
 
std::unique_ptr< Renderer::Backend::IGraphicsPipelineStatem_PipelineState
 

Detailed Description

Implements a render pass consisting of a pipeline state and a shader, used by CShaderTechnique.

Constructor & Destructor Documentation

◆ CShaderPass()

CShaderPass::CShaderPass ( std::unique_ptr< Renderer::Backend::IGraphicsPipelineState pipelineState,
const CShaderProgramPtr shader 
)

Member Function Documentation

◆ GetPipelineState()

Renderer::Backend::IGraphicsPipelineState * CShaderPass::GetPipelineState ( ) const
inlinenoexcept

◆ GetShaderProgram()

const CShaderProgramPtr & CShaderPass::GetShaderProgram ( ) const
inlinenoexcept

◆ MOVABLE()

CShaderPass::MOVABLE ( CShaderPass  )

Member Data Documentation

◆ m_PipelineState

std::unique_ptr<Renderer::Backend::IGraphicsPipelineState> CShaderPass::m_PipelineState
private

◆ m_Shader

CShaderProgramPtr CShaderPass::m_Shader
private

The documentation for this class was generated from the following files: