HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Data Fields
v1::gfx_system Class Reference

#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_systemoperator= (const gfx_system &)=delete
 
 gfx_system (gfx_system &&)=delete
 
gfx_systemoperator= (gfx_system &&)=delete
 
void log_memory_usage () const noexcept
 
gfx_devicefind_best_device (vk::SurfaceKHR surface)
 
vk::DispatchLoaderDynamic loader () const noexcept
 
void destroySurfaceKHR (vk::SurfaceKHR surface)
 

Static Public Member Functions

static gfx_systemglobal ()
 

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.
 

Detailed Description

Vulkan gfx_device controller.

Manages Vulkan device and a set of Windows.

Constructor & Destructor Documentation

◆ gfx_system()

v1::gfx_system::gfx_system ( )
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.

Field Documentation

◆ applicationInfo

vk::ApplicationInfo v1::gfx_system::applicationInfo

application info passed when the instance was created.

◆ intrinsic

vk::Instance v1::gfx_system::intrinsic

Vulkan instance.

◆ requiredExtensions

std::vector<const char *> v1::gfx_system::requiredExtensions

List of extension that where requested when the instance was created.

◆ requiredFeatures

vk::PhysicalDeviceFeatures v1::gfx_system::requiredFeatures

List of required features for each device.

◆ requiredLayers

std::vector<const char *> v1::gfx_system::requiredLayers

List of extension that where requested when the instance was created.

◆ requiredLimits

vk::PhysicalDeviceLimits v1::gfx_system::requiredLimits

List of required limits for each device.


The documentation for this class was generated from the following files: