VulkanGraphicsOutput class.
More...
#include <kanzi/core.ui/platform/graphics_backend/vulkan/vulkan_graphics_output.hpp>
VulkanGraphicsOutput class.
Mixin interface for graphics outputs that implement Vulkan instance and surface.
using kanzi::VulkanGraphicsOutput::VulkanProcPointer = void (*)( |
Pointer to Vulkan function.
virtual kanzi::VulkanGraphicsOutput::~VulkanGraphicsOutput |
( |
| ) |
|
|
virtualdefault |
Retrieves pointer to Vulkan function.
- Parameters
-
functionName | Name of the function. |
- Returns
- Pointer to the function, or null if not found.
virtual KZ_NO_DISCARD optional<VkInstance> kanzi::VulkanGraphicsOutput::getNativeInstanceHandle |
( |
| ) |
const |
|
pure virtualnoexcept |
Gets associated Vulkan instance handle.
- Returns
- The handle of associated Vulkan instance, or nullopt on error.
virtual KZ_NO_DISCARD optional<VkSurfaceKHR> kanzi::VulkanGraphicsOutput::getNativeSurfaceHandle |
( |
| ) |
const |
|
pure virtualnoexcept |
Gets associated native Vulkan surface handle.
- Returns
- The handle of associated surface object, or nullopt on error.
The documentation for this class was generated from the following file: