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()

virtual VkSurfaceKHR Murl::IWindowInterface::CreateSurface ( VkInstance  instance,
VkResult &  result 
) const
pure virtual

attempts to create os specific window surface.

Parameters
instancethe created vulkan instance.
resultvulkan 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
physicalDevicethe device.
familyIndexthe family index.
Returns
true if supported

The documentation for this interface was generated from the following file:
  • murl_video_i_vulkan_window_interface.h


Copyright © 2011-2024 Spraylight GmbH.