SPARK
0.1.0
A general purpose game engine written in C++.
|
Represents a graphics IPipeline. More...
#include <RenderPipeilne.h>
Public Types | |
using | input_assembler_type = InputAssemblerType |
using | rasterizer_type = RasterizerType |
![]() | |
using | shader_program_type = ShaderProgramType |
using | pipeline_layout_type = PipelineLayoutType |
Public Member Functions | |
virtual std::shared_ptr< input_assembler_type > | inputAssembler () const noexcept=0 |
Gets the input assembler state used by the render pipeline. | |
virtual std::shared_ptr< rasterizer_type > | rasterizer () const noexcept=0 |
Gets the rasterizer state used by the render pipeline. | |
![]() | |
std::shared_ptr< IInputAssembler > | inputAssembler () const noexcept |
Gets the input assembler state used by the render pipeline. | |
std::shared_ptr< IRasterizer > | rasterizer () const noexcept |
Gets the rasterizer state used by the render pipeline. | |
virtual bool | alphaToCoverage () const noexcept=0 |
Checks if the render pipeline is using alpha to coverage. | |
![]() | |
std::shared_ptr< const IShaderProgram > | program () const noexcept |
Gets the shader program used by the pipeline. | |
std::shared_ptr< IPipelineLayout > | layout () const noexcept |
Gets the pipeline layout. | |
![]() | |
StateResource (std::string_view name) noexcept | |
Initializes a new StateResource instance. | |
StateResource (const StateResource &other)=delete | |
StateResource (StateResource &&other) noexcept | |
StateResource & | operator= (const StateResource &other)=delete |
StateResource & | operator= (StateResource &&other) noexcept |
const std::string & | name () const noexcept final |
Gets the name of the state resource. | |
![]() | |
virtual std::shared_ptr< const shader_program_type > | program () const noexcept=0 |
Gets the shader program used by the pipeline. | |
virtual std::shared_ptr< pipeline_layout_type > | layout () const noexcept=0 |
Gets the pipeline layout. | |
Additional Inherited Members | |
![]() | |
StateResource () noexcept | |
Initializes a new StateResource instance with an empty name. | |
std::string & | name () noexcept |
Gets the name of the state resource. | |
Represents a graphics IPipeline.
InputAssemblerType | Type of the input assembler state used by the render pipeline. (inherits from IInputAssembler) |
RasterizerType | Type of the rasterizer state used by the render pipeline. (inherits from IRasterizer) |
|
nodiscardpure virtualnoexcept |
Gets the input assembler state used by the render pipeline.
Implemented in spark::render::vk::VulkanRenderPipeline.
|
nodiscardpure virtualnoexcept |
Gets the rasterizer state used by the render pipeline.
Implemented in spark::render::vk::VulkanRenderPipeline.