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

657{
658 auto it = m_descriptor_sets.find(descriptor_set_id);
659 if (it == m_descriptor_sets.end()) {
660 error<std::invalid_argument>(
663 std::source_location::current(),
664 "Invalid DescriptorSetID: {}", descriptor_set_id);
665 }
666 return it->second.descriptor_set;
667}
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: