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

◆ get_descriptor_set()

vk::DescriptorSet MayaFlux::Portal::Graphics::ShaderFoundry::get_descriptor_set ( DescriptorSetID  descriptor_set_id)

Get Vulkan descriptor set handle from DescriptorSetID.

Parameters
descriptor_set_idDescriptor set ID
Returns
Vulkan descriptor set handle

Definition at line 683 of file ShaderFoundry.cpp.

684{
685 auto it = m_descriptor_sets.find(descriptor_set_id);
686 if (it == m_descriptor_sets.end()) {
687 error<std::invalid_argument>(
690 std::source_location::current(),
691 "Invalid DescriptorSetID: {}", descriptor_set_id);
692 }
693 return it->second.descriptor_set;
694}
std::unordered_map< DescriptorSetID, DescriptorSetState > m_descriptor_sets
@ ShaderCompilation
Shader compilation tasks (Portal::Graphics::ShaderCompiler)
@ Portal
High-level user-facing API layer.

References m_descriptor_sets, MayaFlux::Journal::Portal, and MayaFlux::Journal::ShaderCompilation.

Referenced by MayaFlux::Portal::Graphics::ComputePress::bind_descriptor_sets(), and MayaFlux::Portal::Graphics::RenderFlow::bind_descriptor_sets().

+ Here is the caller graph for this function: