|
HikoGUI
A low latency retained GUI
|
#include <hikogui/GFX/gfx_system.hpp>
Public Member Functions | |
| 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 | init () |
| Initialize after construction. | |
| virtual void | deinit () |
| virtual std::unique_ptr< gfx_surface > | make_surface (os_handle instance, void *os_window) const noexcept=0 |
| void | log_memory_usage () const noexcept |
| gfx_device * | find_best_device_for_surface (gfx_surface const &surface) |
Data Fields | |
| std::vector< std::shared_ptr< gfx_device > > | devices |
| List of all devices. | |
Graphics system.
|
inlinevirtual |
Initialize after construction.
Call this function directly after the constructor on the same thread.
Reimplemented in v1::gfx_system_vulkan.
| std::vector<std::shared_ptr<gfx_device> > v1::gfx_system::devices |
List of all devices.