Murl::IWindowInterface Interface Referenceabstract
The window interface. More...
#include "murl_video_i_vulkan_window_interface.h"
Public Member Functions | |
virtual VkSurfaceKHR | CreateSurface (VkInstance instance, VkResult &result) const =0 |
attempts to create os specific window surface. More... | |
virtual UInt32 | GetNumRequiredExtensions () const =0 |
gets the number of extension the create surface method needs. More... | |
virtual const Char *const * | GetRequiredExtensions () const =0 |
returns the pointer array to the required extension strings. More... | |
virtual bool | SupportsPresentation (VkPhysicalDevice physicalDevice, const UInt32 familyIndex) const =0 |
checks if physical device and family index is supported by surface. More... | |
Detailed Description
The window interface.
Member Function Documentation
◆ CreateSurface()
|
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()
|
pure virtual |
gets the number of extension the create surface method needs.
- Returns
- number of required extensions
◆ GetRequiredExtensions()
|
pure virtual |
returns the pointer array to the required extension strings.
- Returns
- list of required extensions
◆ SupportsPresentation()
|
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