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

◆ load_shader() [1/3]

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 392 of file ShaderFoundry.cpp.

393{
394 return load_shader(source.content, source.stage, source.entry_point);
395}
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:127

References load_shader().

+ Here is the call graph for this function: