LiteFX 0.3.1.2022
Computer Graphics Engine
|
Represents a shader program, consisting of multiple IShaderModules. More...
#include <rendering.hpp>
Inherits LiteFX::Rendering::IShaderProgram.
Public Types | |
using | shader_module_type = TShaderModule |
Public Member Functions | |
virtual | ~ShaderProgram () noexcept=default |
virtual Array< const shader_module_type * > | modules () const noexcept=0 |
Public Member Functions inherited from LiteFX::Rendering::IShaderProgram | |
virtual | ~IShaderProgram () noexcept=default |
Array< const IShaderModule * > | modules () const noexcept |
Returns the modules, the shader program is build from. More... | |
SharedPtr< IPipelineLayout > | reflectPipelineLayout () const |
Uses shader reflection to extract the pipeline layout of a shader. May not be available in all backends. More... | |
Represents a shader program, consisting of multiple IShaderModules.
TShaderModule | The type of the shader module. Must implement IShaderModule. |
using LiteFX::Rendering::ShaderProgram< TShaderModule >::shader_module_type = TShaderModule |
|
virtualdefaultnoexcept |
|
pure virtualnoexcept |