diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-08-29 12:52:19 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2021-09-09 22:28:32 +1000 |
commit | 506ae80876f6d3daf6ef3b57a157fc3fc86ad156 (patch) | |
tree | a0b9695bead959f07099dde8e6be8dc290860e1c /drivers/vulkan/vulkan_context.h | |
parent | e73eecfec5cc764d2a5eb7d0fdd50bc284e2467f (diff) |
Expose Vulkan internal values for access from extensions
Diffstat (limited to 'drivers/vulkan/vulkan_context.h')
-rw-r--r-- | drivers/vulkan/vulkan_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/vulkan/vulkan_context.h b/drivers/vulkan/vulkan_context.h index fe09d4c497..19ea806616 100644 --- a/drivers/vulkan/vulkan_context.h +++ b/drivers/vulkan/vulkan_context.h @@ -243,7 +243,8 @@ public: VkPhysicalDevice get_physical_device(); VkInstance get_instance() { return inst; } int get_swapchain_image_count() const; - uint32_t get_graphics_queue() const; + VkQueue get_graphics_queue() const; + uint32_t get_graphics_queue_family_index() const; void window_resize(DisplayServer::WindowID p_window_id, int p_width, int p_height); int window_get_width(DisplayServer::WindowID p_window = 0); |