HikoGUI
A low latency retained GUI
|
#include <hikogui/GFX/gfx_system_vulkan_intf.hpp>
Public Member Functions | |
gfx_system () | |
Create an instance of a gfx_device. | |
gfx_system (const gfx_system &)=delete | |
gfx_system & | operator= (const gfx_system &)=delete |
gfx_system (gfx_system &&)=delete | |
gfx_system & | operator= (gfx_system &&)=delete |
void | log_memory_usage () const noexcept |
gfx_device * | find_best_device (vk::SurfaceKHR surface) |
vk::DispatchLoaderDynamic | loader () const noexcept |
void | destroySurfaceKHR (vk::SurfaceKHR surface) |
Static Public Member Functions | |
static gfx_system & | global () |
Data Fields | |
vk::Instance | intrinsic |
Vulkan instance. | |
std::vector< const char * > | requiredExtensions |
List of extension that where requested when the instance was created. | |
std::vector< const char * > | requiredLayers |
List of extension that where requested when the instance was created. | |
vk::PhysicalDeviceFeatures | requiredFeatures |
List of required features for each device. | |
vk::PhysicalDeviceLimits | requiredLimits |
List of required limits for each device. | |
vk::ApplicationInfo | applicationInfo |
application info passed when the instance was created. | |
Vulkan gfx_device controller.
Manages Vulkan device and a set of Windows.
|
inline |
Create an instance of a gfx_device.
After the constructor is completed it may be used to get a Vulkan surface and passed to Window
constructors.
vk::ApplicationInfo v1::gfx_system::applicationInfo |
application info passed when the instance was created.
vk::Instance v1::gfx_system::intrinsic |
Vulkan instance.
std::vector<const char *> v1::gfx_system::requiredExtensions |
List of extension that where requested when the instance was created.
vk::PhysicalDeviceFeatures v1::gfx_system::requiredFeatures |
List of required features for each device.
std::vector<const char *> v1::gfx_system::requiredLayers |
List of extension that where requested when the instance was created.
vk::PhysicalDeviceLimits v1::gfx_system::requiredLimits |
List of required limits for each device.