TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::vulkan::VulkanRenderDevice Class Referencefinal

#include <gui_core/graphics/vulkan/vk_rhi.h>

Inheritance diagram for tachyon::vulkan::VulkanRenderDevice:

Public Member Functions

 VulkanRenderDevice (VulkanDeviceContext &deviceContext)
tachyon::RHI::GpuPipeline CreatePrimitivePipeline (const tachyon::PrimitiveSpec &spec) override
 Builds the pipeline for one primitive kind: the spec's shader pair + the fixed GUI pipeline state (triangle list, fill, no cull, premultiplied alpha blend, depth GREATER_OR_EQUAL, the GUI draw / depth formats) on the shared GUI pipeline layout.
void DestroySharedLayout ()
Public Member Functions inherited from tachyon::RHI::RenderDevice
virtual ~RenderDevice ()=default

Public Attributes

VkPipelineLayout sharedGuiLayout = VK_NULL_HANDLE
 All GUI pipelines share one layout (identical push range + image set).

Constructor & Destructor Documentation

◆ VulkanRenderDevice()

tachyon::vulkan::VulkanRenderDevice::VulkanRenderDevice ( VulkanDeviceContext & deviceContext)
inlineexplicit

Member Function Documentation

◆ CreatePrimitivePipeline()

tachyon::RHI::GpuPipeline tachyon::vulkan::VulkanRenderDevice::CreatePrimitivePipeline ( const tachyon::PrimitiveSpec & spec)
overridevirtual

Builds the pipeline for one primitive kind: the spec's shader pair + the fixed GUI pipeline state (triangle list, fill, no cull, premultiplied alpha blend, depth GREATER_OR_EQUAL, the GUI draw / depth formats) on the shared GUI pipeline layout.

Implements tachyon::RHI::RenderDevice.

◆ DestroySharedLayout()

void tachyon::vulkan::VulkanRenderDevice::DestroySharedLayout ( )

Member Data Documentation

◆ sharedGuiLayout

VkPipelineLayout tachyon::vulkan::VulkanRenderDevice::sharedGuiLayout = VK_NULL_HANDLE

All GUI pipelines share one layout (identical push range + image set).

Created lazily by the first CreatePrimitivePipeline call.


The documentation for this class was generated from the following file: