|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::shared_ptr< Core::VKShaderModule > MayaFlux::Portal::Graphics::ShaderFoundry::compile | ( | const ShaderSource & | shader_source | ) |
Compile shader from ShaderSource descriptor.
| shader_source | Shader descriptor (path or source + type + stage) |
Unified interface that dispatches to appropriate compile method. Useful for abstracted shader loading pipelines.
Definition at line 246 of file ShaderFoundry.cpp.
References compile_from_file(), compile_from_source(), compile_from_spirv(), MayaFlux::Portal::Graphics::ShaderSource::content, MayaFlux::Portal::Graphics::ShaderSource::entry_point, MayaFlux::Portal::Graphics::ShaderSource::GLSL_FILE, MayaFlux::Portal::Graphics::ShaderSource::GLSL_STRING, MF_ERROR, MayaFlux::Journal::Portal, MayaFlux::Journal::ShaderCompilation, MayaFlux::Portal::Graphics::ShaderSource::SPIRV_FILE, MayaFlux::Portal::Graphics::ShaderSource::stage, and MayaFlux::Portal::Graphics::ShaderSource::type.
Here is the call graph for this function: