TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
Integration

These pages are for programs that already have some of their own setup: their own build, Vulkan or Direct3D 12 device, windows or main loop. In them, the host is your program and the GUI is TachyonUI running inside it.

  • Read only the pages that apply to you.
  • With the defaults, Initialize and Run are enough. The GUI then makes its own device, windows and loop:

    MyApp app;
    tachyon::Result<void> result = app.Initialize();
    if (result)
    result = app.Run(); // until the last window closes
    app.Cleanup();
    A value, or the Error saying why there is none.
    Definition gui_result.h:36
  • How a frame works is in the Overview.
Page Covers
Adding the library to a build Subproject or installed package; CMake options; resources.
Using your own Vulkan device Device requirements, handing it over, showing your own image.
Using your own Direct3D 12 device The same, on Direct3D 12.
Using your own SDL GPU device The same, on SDL3's GPU API.
Your own window and input Writing a window backend; images on the clipboard; running SDL's event loop yourself.
Your own loop Per-frame calls; errors and device loss.
Rendering the UI into a host image Windows without an OS window: copy to your image, read pixels, inject input.
Allocation hooks and headless backends Your own allocator; running without GPU or display.