Adapted from the Vulkan reference implementation of ImGui under the provisions of the MIT license at:
https://github.com/ocornut/imgui/blob/master/backends/imgui_impl_vulkan.h
https://github.com/ocornut/imgui/blob/master/backends/imgui_impl_vulkan.cpp