LampyEngine
 
Загрузка...
Поиск...
Не найдено
Класс VulkanSurface

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::VulkanSurface ( VkInstance instance,
VkSurfaceKHR surface )

Constructs a Vulkan surface using the given Vulkan instance and surface handle.

Аргументы
instanceThe Vulkan instance associated with the surface.
surfaceThe Vulkan surface handle.

Методы

◆ getSurface()

VkSurfaceKHR VulkanSurface::getSurface ( ) const
inline

Retrieves the Vulkan surface handle.

Возвращает
The Vulkan surface handle.

Объявления и описания членов классов находятся в файлах: