MCPcopy Create free account
hub / github.com/comaps/comaps / ApplyParamDescriptor

Method ApplyParamDescriptor

libs/drape/vulkan/vulkan_base_context.cpp:753–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753void VulkanBaseContext::ApplyParamDescriptor(ParamDescriptor && descriptor)
754{
755 if (descriptor.m_type == ParamDescriptor::Type::DynamicUniformBuffer)
756 {
757 for (auto & param : m_paramDescriptors)
758 {
759 if (param.m_type == ParamDescriptor::Type::DynamicUniformBuffer)
760 {
761 param = std::move(descriptor);
762 return;
763 }
764 }
765 }
766 m_paramDescriptors.push_back(std::move(descriptor));
767}
768
769void VulkanBaseContext::ClearParamDescriptors()
770{

Callers 2

ApplyBytesMethod · 0.80
ApplyTexturesMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected