MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / ImageMapStruct

Class ImageMapStruct

layersvt/screenshot.cpp:95–100  ·  view source on GitHub ↗

unordered map: associates an image with a device, image extent, and format

Source from the content-addressed store, hash-verified

93
94// unordered map: associates an image with a device, image extent, and format
95struct ImageMapStruct {
96 VkDevice device;
97 VkExtent2D imageExtent;
98 VkFormat format;
99 VkSwapchainKHR swapchain = VK_NULL_HANDLE;
100};
101static unordered_map<VkImage, ImageMapStruct> imageMap;
102
103// unordered map: associates a device with per device info -

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected