Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
VulkanLoader.h File Reference

donner::gpu::vulkan::VulkanLoader - runtime loading of the Vulkan loader library and its entry points. More...

#include <vulkan/vulkan.h>
#include <memory>
#include <string>
#include "donner/gpu/GpuResult.h"
Include dependency graph for VulkanLoader.h:

Classes

struct  donner::gpu::vulkan::VulkanApi
 Vulkan entry points this backend calls, resolved at runtime. More...
class  donner::gpu::vulkan::VulkanLoader
 Owns the dynamically opened Vulkan loader library and the VulkanApi resolved from it. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

std::string donner::gpu::vulkan::VkResultToString (VkResult result)
 Returns the name of a VkResult for diagnostics (the common codes; others print numerically). Shared so every failure message in this backend names the result the same way.

Detailed Description

donner::gpu::vulkan::VulkanLoader - runtime loading of the Vulkan loader library and its entry points.

Function Documentation

◆ VkResultToString()

std::string donner::gpu::vulkan::VkResultToString ( VkResult result)

Returns the name of a VkResult for diagnostics (the common codes; others print numerically). Shared so every failure message in this backend names the result the same way.

Parameters
resultResult to format.