SpiecsEngine
 
Loading...
Searching...
No Matches

◆ CreateVulkanSurface()

void Spices::VulkanInstance::CreateVulkanSurface ( ) const
private

Create a Surface Object.

Create surface and set it global.

Note
Init with Window's size, but we need resize it to viewport's size after.

Create surface and set it global.

Note
Init with Window's size, but we need resize it to viewport's size after.

Definition at line 312 of file VulkanInstance.cpp.

313 {
315
321 }
#define SPICES_PROFILE_ZONE
#define VK_CHECK(expr)
Vulkan Check macro. Verify Vulkan API Effectiveness.
Definition VulkanUtils.h:68
VulkanState & m_VulkanState
The global VulkanState Referenced from VulkanRenderBackend.
GLFWwindow * m_Windows
Definition VulkanUtils.h:92
VkInstance m_Instance
Definition VulkanUtils.h:93
VkSurfaceKHR m_Surface
Definition VulkanUtils.h:94

References Spices::VulkanObject::m_VulkanState.

Referenced by VulkanInstance().