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

◆ get_shader_stage()

ShaderStage MayaFlux::Portal::Graphics::ShaderFoundry::get_shader_stage ( ShaderID  shader_id)

Get shader stage for compiled shader.

Parameters
shader_idID of compiled shader
Returns
Shader stage (COMPUTE, VERTEX, FRAGMENT, etc.)

Definition at line 486 of file ShaderFoundry.cpp.

487{
488 auto it = m_shaders.find(shader_id);
489 if (it != m_shaders.end()) {
490 return it->second.stage;
491 }
493}
std::unordered_map< ShaderID, ShaderState > m_shaders

References MayaFlux::Portal::Graphics::COMPUTE, m_shaders, and MayaFlux::Portal::Graphics::ShaderReflectionInfo::stage.

Referenced by MayaFlux::Portal::Graphics::ComputePress::create_pipeline().

+ Here is the caller graph for this function: