|
TGUI 1.14-dev
|
Vulkan objects that TGUI needs to render. More...
#include <TGUI/Backend/Renderer/Vulkan/BackendRendererVulkan.hpp>
Public Attributes | |
| VkInstance | instance = VK_NULL_HANDLE |
| Instance that was used to create the device. | |
| VkPhysicalDevice | physicalDevice = VK_NULL_HANDLE |
| Physical device on which the device was created. | |
| std::uint32_t | queueFamilyIndex = 0 |
| Queue family of the queue. | |
| VkDevice | device = VK_NULL_HANDLE |
| Logical device used for rendering. | |
| VkQueue | queue = VK_NULL_HANDLE |
| Queue that is used for rendering. | |
| PFN_vkGetInstanceProcAddr | getInstanceProcAddr = nullptr |
Vulkan objects that TGUI needs to render.
The queue must support graphics operations. It also has to support presenting to the window surface if the gui.mainLoop() function is used. Command buffers in which the gui is drawn must be submitted to this queue, as texture uploads are submitted to it as well. The objects must remain alive for as long as TGUI uses them.
| PFN_vkGetInstanceProcAddr tgui::VulkanContext::getInstanceProcAddr = nullptr |
Function used to load all Vulkan functions, it must belong to the loader that created the instance. The Gui classes from GLFW_VULKAN and SDL_VULKAN take it from GLFW or SDL when it is left empty.