SPARK
0.1.0
A general purpose game engine written in C++.
|
Interface representing a shader program, a collection of IShaderModule. More...
#include <Shader.h>
Public Member Functions | |
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. | |
Interface representing a shader program, a collection of IShaderModule.
|
nodiscardpure virtual |
Uses shader reflexion to extract the pipeline layout from this shader program.
Shader reflection is not able to restore:
Implemented in spark::render::vk::VulkanShaderProgram.
|
inlinenodiscardnoexcept |
Gets all shaders contained in this program.