#ifndef HGL_GRAPH_VULKAN_INSTANCE_INCLUDE #define HGL_GRAPH_VULKAN_INSTANCE_INCLUDE #include #include #include"Window.h" #include"VK.h" #include"VKPhysicalDevice.h" VK_NAMESPACE_BEGIN class Instance { Window *win; List ext_list; VkApplicationInfo app_info; VkInstanceCreateInfo inst_info; VkInstance inst; ObjectList physical_devices; private: UTF8String app_name; public: Instance(const UTF8String &,Window *); virtual ~Instance(); virtual bool Init(); const ObjectList & GetDeviceList()const{return physical_devices;} };//class Instance VK_NAMESPACE_END #endif//HGL_GRAPH_VULKAN_INSTANCE_INCLUDE