Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::geode::GpuRootSelection Struct Reference

Inputs to browser-root selection. A named unsupported backend is refused. More...

#include "donner/svg/renderer/geode/GeodeNativeRoot.h"

Public Attributes

std::string_view label = "GeodeDevice"
 Caller's name for the selection.
std::optional< GpuBackendKind > backend
 Backend the caller names. It outranks DONNER_GPU_BACKEND and every default.
bool requireVulkanPresentation = false
 Require a Vulkan root whose queue can present; another resolved backend is a contradiction.
std::span< const char *const > requiredVulkanInstanceExtensions
 Instance extensions a presentation root must enable, such as the window system's surface extensions. Only valid with requireVulkanPresentation.

Detailed Description

Inputs to browser-root selection. A named unsupported backend is refused.

Caller inputs for a native backend selection.

Member Data Documentation

◆ backend

std::optional< GpuBackendKind > donner::geode::GpuRootSelection::backend

Backend the caller names. It outranks DONNER_GPU_BACKEND and every default.

◆ label

std::string_view donner::geode::GpuRootSelection::label = "GeodeDevice"

Caller's name for the selection.

◆ requiredVulkanInstanceExtensions

std::span<const char* const> donner::geode::GpuRootSelection::requiredVulkanInstanceExtensions

Instance extensions a presentation root must enable, such as the window system's surface extensions. Only valid with requireVulkanPresentation.

◆ requireVulkanPresentation

bool donner::geode::GpuRootSelection::requireVulkanPresentation = false

Require a Vulkan root whose queue can present; another resolved backend is a contradiction.


The documentation for this struct was generated from the following files: