GpuSkiaVulkanBackend
- Namespace: Turian.Engine.UI
- Source File: GpuSkiaVulkanBackend.cs
Placeholder for the GPU-accelerated backend: a Skia GRContext bound to the engine's existing VkDevice and graphics queue, so the vector content rasterizes on the GPU and the result is an image the compositor samples directly — no host readback, no per-frame copy. Not implemented. The seam exists so UiRenderBackendFactory can switch to it without any change at the call sites once SkiaSharp.Vulkan interop against Silk.NET handles is in place.
Properties
Size
((int Width, int Height)) { get; set }
Texture
(Texture?)
Public Methods
Resize
public void Resize(int width, int height)
Parameters:
width(int)height(int)
Render
public void Render(Action<SKCanvas> draw)
Parameters:
draw(Action)
Dispose
public void Dispose()