SPARK  0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
spark::render::IPipeline Class Referenceabstract

Interface representing a pipeline. More...

#include <Pipeline.h>

Inheritance diagram for spark::render::IPipeline:
spark::render::IStateResource spark::render::Pipeline< VulkanPipelineLayout, VulkanShaderProgram > spark::render::IRenderPipeline spark::render::Pipeline< PipelineLayoutType, ShaderProgramType > spark::render::RenderPipeline< VulkanPipelineLayout, VulkanShaderProgram, VulkanInputAssembler, VulkanRasterizer > spark::render::vk::VulkanPipelineState spark::render::RenderPipeline< VulkanPipelineLayout, VulkanShaderProgram, VulkanInputAssembler, VulkanRasterizer > spark::render::RenderPipeline< PipelineLayoutType, ShaderProgramType, InputAssemblerType, RasterizerType > spark::render::RenderPipeline< PipelineLayoutType, ShaderProgramType, InputAssemblerType, RasterizerType > spark::render::vk::VulkanRenderPipeline spark::render::vk::VulkanRenderPipeline spark::render::vk::VulkanRenderPipeline

Public Member Functions

std::shared_ptr< const IShaderProgramprogram () const noexcept
 Gets the shader program used by the pipeline.
 
std::shared_ptr< IPipelineLayoutlayout () const noexcept
 Gets the pipeline layout.
 
- Public Member Functions inherited from spark::render::IStateResource
virtual const std::string & name () const noexcept=0
 Gets the name of the state resource.
 

Detailed Description

Interface representing a pipeline.

Member Function Documentation

◆ layout()

std::shared_ptr< IPipelineLayout > spark::render::IPipeline::layout ( ) const
inlinenodiscardnoexcept

Gets the pipeline layout.

Returns
A std::shared_ptr pointer to the IPipelineLayout.

◆ program()

std::shared_ptr< const IShaderProgram > spark::render::IPipeline::program ( ) const
inlinenodiscardnoexcept

Gets the shader program used by the pipeline.

Returns
A std::shared_ptr pointer to the IShaderProgram used by the pipeline.