|
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 |
Public Types inherited from spark::render::Pipeline< PipelineLayoutType, ShaderProgramType > | |
| 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. | |
Public Member Functions inherited from spark::render::IRenderPipeline | |
| 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. | |
Public Member Functions inherited from spark::render::IPipeline | |
| 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. | |
Public Member Functions inherited from spark::render::StateResource | |
| 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. | |
Public Member Functions inherited from spark::render::Pipeline< PipelineLayoutType, ShaderProgramType > | |
| 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 | |
Protected Member Functions inherited from spark::render::StateResource | |
| 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.