The window interface.
More...
#include <murl_video_i_vulkan_window_interface.h>
◆ CreateSurface()
virtual VkSurfaceKHR Murl::IWindowInterface::CreateSurface |
( |
VkInstance |
instance, |
|
|
VkResult & |
result |
|
) |
| const |
|
pure virtual |
attempts to create os specific window surface.
- Parameters
-
instance | the created vulkan instance. |
result | vulkan result |
- Returns
- VkSurfaceKHR handle or nullptr if failed
◆ GetNumRequiredExtensions()
virtual UInt32 Murl::IWindowInterface::GetNumRequiredExtensions |
( |
| ) |
const |
|
pure virtual |
gets the number of extension the create surface method needs.
- Returns
- number of required extensions
◆ GetRequiredExtensions()
virtual const Char* const* Murl::IWindowInterface::GetRequiredExtensions |
( |
| ) |
const |
|
pure virtual |
returns the pointer array to the required extension strings.
- Returns
- list of required extensions
◆ SupportsPresentation()
virtual bool Murl::IWindowInterface::SupportsPresentation |
( |
VkPhysicalDevice |
physicalDevice, |
|
|
const UInt32 |
familyIndex |
|
) |
| const |
|
pure virtual |
checks if physical device and family index is supported by surface.
- Parameters
-
physicalDevice | the device. |
familyIndex | the family index. |
- Returns
- true if supported
The documentation for this interface was generated from the following file:
- murl_video_i_vulkan_window_interface.h