SPARK
0.1.0
A general purpose game engine written in C++.
|
Represents a shader program with a specific type of IShaderModule. More...
#include <Shader.h>
Public Types | |
using | shader_module_type = ShaderModuleType |
Public Member Functions | |
virtual std::vector< const shader_module_type * > | shaders () const noexcept=0 |
Gets all shaders contained in this program. | |
![]() | |
std::vector< const IShaderModule * > | shaders () const noexcept |
Gets all shaders contained in this program. | |
virtual std::shared_ptr< IPipelineLayout > | reflectPipelineLayout () const =0 |
Uses shader reflexion to extract the pipeline layout from this shader program. | |
Represents a shader program with a specific type of IShaderModule.
ShaderModuleType | The type of IShaderModule this shader program contains. |
|
nodiscardpure virtualnoexcept |
Gets all shaders contained in this program.
Implemented in spark::render::vk::VulkanShaderProgram.