|
HikoGUI
A low latency retained GUI
|
#include <ttauri/GFX/gfx_system_vulkan.hpp>
Public Member Functions | |
| gfx_system_vulkan () | |
| Create an instance of a gfx_device. | |
| gfx_system_vulkan (const gfx_system_vulkan &)=delete | |
| gfx_system_vulkan & | operator= (const gfx_system_vulkan &)=delete |
| gfx_system_vulkan (gfx_system_vulkan &&)=delete | |
| gfx_system_vulkan & | operator= (gfx_system_vulkan &&)=delete |
| void | init () noexcept(false) override |
| Initialize after construction. | |
| std::unique_ptr< gfx_surface > | make_surface (os_handle instance, void *os_window) const noexcept override |
| vk::DispatchLoaderDynamic | loader () const noexcept |
| void | destroySurfaceKHR (vk::SurfaceKHR surface) |
Public Member Functions inherited from tt::gfx_system | |
| gfx_system (const gfx_system &)=delete | |
| gfx_system & | operator= (const gfx_system &)=delete |
| gfx_system (gfx_system &&)=delete | |
| gfx_system & | operator= (gfx_system &&)=delete |
| virtual void | deinit () |
| gfx_device * | find_best_device_for_surface (gfx_surface const &surface) |
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. | |
Data Fields inherited from tt::gfx_system | |
| std::vector< std::shared_ptr< gfx_device > > | devices |
| List of all devices. | |
Vulkan gfx_device controller.
Manages Vulkan device and a set of Windows.
| tt::gfx_system_vulkan::gfx_system_vulkan | ( | ) |
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.
|
overridevirtual |
Initialize after construction.
Call this function directly after the constructor on the same thread.
Reimplemented from tt::gfx_system.
|
overridevirtualnoexcept |
Implements tt::gfx_system.
| vk::ApplicationInfo tt::gfx_system_vulkan::applicationInfo |
application info passed when the instance was created.
| vk::Instance tt::gfx_system_vulkan::intrinsic |
Vulkan instance.
| std::vector<const char *> tt::gfx_system_vulkan::requiredExtensions |
List of extension that where requested when the instance was created.
| vk::PhysicalDeviceFeatures tt::gfx_system_vulkan::requiredFeatures |
List of required features for each device.
| std::vector<const char *> tt::gfx_system_vulkan::requiredLayers |
List of extension that where requested when the instance was created.
| vk::PhysicalDeviceLimits tt::gfx_system_vulkan::requiredLimits |
List of required limits for each device.