MayaFlux 0.1.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 478 of file ShaderFoundry.cpp.

479{
480 auto it = m_shaders.find(shader_id);
481 if (it != m_shaders.end()) {
482 return it->second.stage;
483 }
485}
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: