TachyonUI
1.1.0
High-performance UI for building tools.
Toggle main menu visibility
Loading...
Searching...
No Matches
gui_default_graphics_context.h
Go to the documentation of this file.
1
#pragma once
2
3
// The graphics backends built in, made by the API they render with.
4
5
#include <
gui_core/graphics/gui_graphics_context.h
>
6
7
#include <memory>
8
#include <string_view>
9
10
namespace
tachyon
11
{
15
std::unique_ptr<GraphicsContext>
CreateGraphicsContext
(
GraphicsAPI
api);
16
19
std::unique_ptr<GraphicsContext>
CreateDefaultGraphicsContext
();
20
24
std::string_view
GraphicsAPIBuildOption
(
GraphicsAPI
api);
25
}
gui_graphics_context.h
tachyon
Definition
gui_logging.h:24
tachyon::CreateDefaultGraphicsContext
std::unique_ptr< GraphicsContext > CreateDefaultGraphicsContext()
The default graphics backend, not yet initialized: Metal when it's built in (TACHYON_METAL,...
tachyon::GraphicsAPIBuildOption
std::string_view GraphicsAPIBuildOption(GraphicsAPI api)
The build option that builds api's backend in: "TACHYON_VULKAN", "TACHYON_D3D12", "TACHYON_METAL",...
tachyon::CreateGraphicsContext
std::unique_ptr< GraphicsContext > CreateGraphicsContext(GraphicsAPI api)
A graphics backend for api, not yet initialized: GraphicsAPI::None is the null backend,...
tachyon::GraphicsAPI
GraphicsAPI
The graphics API a backend presents with; window backends create their windows to match (SDL: SDL_WIN...
Definition
gui_graphics_api.h:14
gui_core
graphics
gui_default_graphics_context.h
Generated by
1.18.0