MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / composite_image_flags

Function composite_image_flags

framework/core/swapchain.cpp:266–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266inline VkImageUsageFlags composite_image_flags(std::set<VkImageUsageFlagBits> &image_usage_flags)
267{
268 VkImageUsageFlags image_usage{};
269 for (auto flag : image_usage_flags)
270 {
271 image_usage |= flag;
272 }
273 return image_usage;
274}
275
276} // namespace
277

Callers 1

SwapchainMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected