diff options
Diffstat (limited to 'tools/gfx/vulkan/vk-device-queue.h')
| -rw-r--r-- | tools/gfx/vulkan/vk-device-queue.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gfx/vulkan/vk-device-queue.h b/tools/gfx/vulkan/vk-device-queue.h index d57483ec0..cd53b6b9d 100644 --- a/tools/gfx/vulkan/vk-device-queue.h +++ b/tools/gfx/vulkan/vk-device-queue.h @@ -54,6 +54,12 @@ struct VulkanDeviceQueue /// Steps to next command buffer and opens. May block if command buffer is still in use void flushStepB(); + /// Destroy the device queue + void destroy(); + + /// True if the queue appears to be valid and has been initialized + bool isValid() const { return m_api != nullptr; } + /// Dtor ~VulkanDeviceQueue(); |
