|
TachyonUI 0.1.0
High-performance UI for building tools.
|
The Vulkan-side GUI pipeline set, built once at device init from kPrimitiveSpecs. More...
#include <gui_core/graphics/vulkan/vk_rhi.h>
Public Member Functions | |
| bool | Create (VulkanDeviceContext &deviceContext) |
| VkBuffer | QuadIndices (VulkanDeviceContext &deviceContext, uint32_t primitiveCount) |
| The index buffer of quad-shaped primitives (0,1,3, 0,3,2 for each four vertices) for at least primitiveCount of them, grown as passes need. | |
Public Attributes | |
| std::array< tachyon::RHI::GpuPipeline, tachyon::kPrimitiveKindCount > | pipelines {} |
| Buffer | quadIndexBuffer {} |
| uint32_t | quadIndexCapacity = 0 |
| primitives quadIndexBuffer holds indices for | |
The Vulkan-side GUI pipeline set, built once at device init from kPrimitiveSpecs.
Indexed by PrimitiveKind; all share one layout.
| bool tachyon::vulkan::GUIRenderContext::Create | ( | VulkanDeviceContext & | deviceContext | ) |
| VkBuffer tachyon::vulkan::GUIRenderContext::QuadIndices | ( | VulkanDeviceContext & | deviceContext, |
| uint32_t | primitiveCount ) |
The index buffer of quad-shaped primitives (0,1,3, 0,3,2 for each four vertices) for at least primitiveCount of them, grown as passes need.
A replaced buffer stays until shutdown: frames in flight may still read it.
| std::array<tachyon::RHI::GpuPipeline, tachyon::kPrimitiveKindCount> tachyon::vulkan::GUIRenderContext::pipelines {} |
| Buffer tachyon::vulkan::GUIRenderContext::quadIndexBuffer {} |
| uint32_t tachyon::vulkan::GUIRenderContext::quadIndexCapacity = 0 |
primitives quadIndexBuffer holds indices for