MayaFlux 0.5.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 767 of file ShaderFoundry.cpp.

768{
769 auto it = m_descriptor_sets.find(descriptor_set_id);
770 if (it == m_descriptor_sets.end()) {
771 error<std::invalid_argument>(
774 std::source_location::current(),
775 "Invalid DescriptorSetID: {}", descriptor_set_id);
776 }
777 return it->second.descriptor_set;
778}
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: