MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ load_shader() [1/2]

ShaderID MayaFlux::Portal::Graphics::ShaderFoundry::load_shader ( const ShaderSource source)

Load shader from explicit ShaderSource descriptor.

Parameters
sourceComplete shader source specification
Returns
ShaderID, or INVALID_SHADER on failure

Definition at line 354 of file ShaderFoundry.cpp.

355{
356 return load_shader(source.content, source.stage, source.entry_point);
357}
ShaderID load_shader(const std::string &content, std::optional< ShaderStage > stage=std::nullopt, const std::string &entry_point="main")
Universal shader loader - auto-detects source type.
Source source()
Begin a Source chain.
Definition Plot.hpp:128

References load_shader().

+ Here is the call graph for this function: