Manages a Vulkan surface, which represents a platform-specific window rendering target. Подробнее...
#include <VulkanSurface.h>
Открытые члены | |
VulkanSurface (VkInstance instance, VkSurfaceKHR surface) | |
Constructs a Vulkan surface using the given Vulkan instance and surface handle. | |
~VulkanSurface () | |
Destroys the Vulkan surface. | |
VkSurfaceKHR | getSurface () const |
Retrieves the Vulkan surface handle. | |
Manages a Vulkan surface, which represents a platform-specific window rendering target.
VulkanSurface::VulkanSurface | ( | VkInstance | instance, |
VkSurfaceKHR | surface ) |
Constructs a Vulkan surface using the given Vulkan instance and surface handle.
instance | The Vulkan instance associated with the surface. |
surface | The Vulkan surface handle. |
|
inline |
Retrieves the Vulkan surface handle.