TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_default_graphics_context.h File Reference
#include <gui_core/graphics/gui_graphics_context.h>
#include <memory>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  tachyon

Functions

std::unique_ptr< GraphicsContext > tachyon::CreateGraphicsContext (GraphicsAPI api)
 A graphics backend for api, not yet initialized: GraphicsAPI::None is the null backend, which draws nothing.
std::unique_ptr< GraphicsContext > tachyon::CreateDefaultGraphicsContext ()
 The default graphics backend, not yet initialized: Metal when it's built in (TACHYON_METAL, macOS), else Vulkan when it is (TACHYON_VULKAN), else the null backend.
std::string_view tachyon::GraphicsAPIBuildOption (GraphicsAPI api)
 The build option that builds api's backend in: "TACHYON_VULKAN", "TACHYON_D3D12", "TACHYON_METAL", "TACHYON_SDLGPU".