TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_graphics_api.h File Reference
#include <cstdint>
#include <string_view>

Go to the source code of this file.

Classes

class  tachyon::ScenePayload
 What GraphicsContext::RenderScene's record gets: the backend's recording state, as the struct of the API it renders with (Vulkan: a VulkanSceneRender). More...

Namespaces

namespace  tachyon

Enumerations

enum class  tachyon::GraphicsAPI : uint8_t {
  tachyon::None , tachyon::Vulkan , tachyon::D3D12 , tachyon::SDLGPU ,
  tachyon::Metal
}
 The graphics API a backend presents with; window backends create their windows to match (SDL: SDL_WINDOW_VULKAN, SDL_WINDOW_METAL). More...

Functions

constexpr std::string_view tachyon::GraphicsAPIName (GraphicsAPI api)
 The API's name as shown to people: "Vulkan", "Direct3D 12", "SDL GPU", "Metal", or "No GPU" for None.