|
TachyonUI 1.1.0
High-performance UI for building tools.
|
#include <gui_core/graphics/vulkan/vk_window_context.h>
Public Attributes | |
| VkSemaphore | swapchainSemaphore = {} |
| VkFence | renderFence = {} |
| DescriptorAllocatorGrowable | frameDescriptors = {} |
| Holds imageDescriptors alone; cleared when that is made again. | |
| VkDescriptorSet | imageDescriptors = VK_NULL_HANDLE |
| The image set's slots as this frame slot last wrote them, bound again while the set's version is imageDescriptorsVersion (0: none written). | |
| uint64_t | imageDescriptorsVersion = 0 |
| DeletionQueue | flushQueue = {} |
| DeletionQueue | deletionQueue = {} |
| VkCommandPool | commandPool = {} |
| VkCommandBuffer | mainCommandBuffer = {} |
| Buffer | primitiveUploadBuffer {} |
| Fence-protected, persistently mapped upload arena for GUI primitive streams, reused each time this frame slot comes round again. | |
| VkDeviceAddress | primitiveUploadAddress = 0 |
| size_t | primitiveUploadCapacity = 0 |
| size_t | primitiveUploadOffset = 0 |
| VulkanImage | drawImage = {} |
| Per-slot draw and depth images, so in-flight frames don't share them (frame N's blit reads drawImage while frame N+1 writes it). | |
| VulkanImage | depthImage = {} |
| VkImageLayout | drawImageLayout = VK_IMAGE_LAYOUT_UNDEFINED |
| The layout the slot's last commands left drawImage in: COLOR_ATTACHMENT_OPTIMAL after drawing, TRANSFER_SRC_OPTIMAL once copied out (to the swapchain, the host's image, or read back). | |
| VkQueryPool | timestamps = VK_NULL_HANDLE |
| GPU timestamps at the start and the end of the frame's drawing; none when the queue can't time. | |
| bool | timestampsWritten = false |
| by the last frame in this slot | |
| VkSemaphore tachyon::vulkan::FrameData::swapchainSemaphore = {} |
| VkFence tachyon::vulkan::FrameData::renderFence = {} |
| DescriptorAllocatorGrowable tachyon::vulkan::FrameData::frameDescriptors = {} |
Holds imageDescriptors alone; cleared when that is made again.
| VkDescriptorSet tachyon::vulkan::FrameData::imageDescriptors = VK_NULL_HANDLE |
The image set's slots as this frame slot last wrote them, bound again while the set's version is imageDescriptorsVersion (0: none written).
Rewritten only after the slot's fence, so no frame in flight has it bound.
| uint64_t tachyon::vulkan::FrameData::imageDescriptorsVersion = 0 |
| DeletionQueue tachyon::vulkan::FrameData::flushQueue = {} |
| DeletionQueue tachyon::vulkan::FrameData::deletionQueue = {} |
| VkCommandPool tachyon::vulkan::FrameData::commandPool = {} |
| VkCommandBuffer tachyon::vulkan::FrameData::mainCommandBuffer = {} |
| Buffer tachyon::vulkan::FrameData::primitiveUploadBuffer {} |
Fence-protected, persistently mapped upload arena for GUI primitive streams, reused each time this frame slot comes round again.
| VkDeviceAddress tachyon::vulkan::FrameData::primitiveUploadAddress = 0 |
| size_t tachyon::vulkan::FrameData::primitiveUploadCapacity = 0 |
| size_t tachyon::vulkan::FrameData::primitiveUploadOffset = 0 |
| VulkanImage tachyon::vulkan::FrameData::drawImage = {} |
Per-slot draw and depth images, so in-flight frames don't share them (frame N's blit reads drawImage while frame N+1 writes it).
The slot's renderFence wait in BeginWindowFrame gates their reuse.
| VulkanImage tachyon::vulkan::FrameData::depthImage = {} |
| VkImageLayout tachyon::vulkan::FrameData::drawImageLayout = VK_IMAGE_LAYOUT_UNDEFINED |
The layout the slot's last commands left drawImage in: COLOR_ATTACHMENT_OPTIMAL after drawing, TRANSFER_SRC_OPTIMAL once copied out (to the swapchain, the host's image, or read back).
| VkQueryPool tachyon::vulkan::FrameData::timestamps = VK_NULL_HANDLE |
GPU timestamps at the start and the end of the frame's drawing; none when the queue can't time.
| bool tachyon::vulkan::FrameData::timestampsWritten = false |
by the last frame in this slot