Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWindowsVulkanInstance Class Reference

#include <qwindowsvulkaninstance.h>

+ Inheritance diagram for QWindowsVulkanInstance:
+ Collaboration diagram for QWindowsVulkanInstance:

Public Member Functions

 QWindowsVulkanInstance (QVulkanInstance *instance)
 
void createOrAdoptInstance () override
 
bool supportsPresent (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, QWindow *window) override
 
VkSurfaceKHR createSurface (HWND win)
 
- Public Member Functions inherited from QBasicPlatformVulkanInstance
 QBasicPlatformVulkanInstance ()
 
 ~QBasicPlatformVulkanInstance ()
 
QVulkanInfoVector< QVulkanLayersupportedLayers () const override
 
QVulkanInfoVector< QVulkanExtensionsupportedExtensions () const override
 
QVersionNumber supportedApiVersion () const override
 
bool isValid () const override
 
VkResult errorCode () const override
 
VkInstance vkInstance () const override
 
QByteArrayList enabledLayers () const override
 
QByteArrayList enabledExtensions () const override
 
PFN_vkVoidFunction getInstanceProcAddr (const char *name) override
 
bool supportsPresent (VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, QWindow *window) override
 
void setDebugFilters (const QList< QVulkanInstance::DebugFilter > &filters) override
 
void setDebugUtilsFilters (const QList< QVulkanInstance::DebugUtilsFilter > &filters) override
 
void destroySurface (VkSurfaceKHR surface) const
 
const QList< QVulkanInstance::DebugFilter > * debugFilters () const
 
const QList< QVulkanInstance::DebugUtilsFilter > * debugUtilsFilters () const
 

Additional Inherited Members

- Protected Member Functions inherited from QBasicPlatformVulkanInstance
void loadVulkanLibrary (const QString &defaultLibraryName, int defaultLibraryVersion=-1)
 
void init (QLibrary *lib)
 
void initInstance (QVulkanInstance *instance, const QByteArrayList &extraExts)
 
- Protected Attributes inherited from QBasicPlatformVulkanInstance
VkInstance m_vkInst = VK_NULL_HANDLE
 
PFN_vkGetInstanceProcAddr m_vkGetInstanceProcAddr = nullptr
 
PFN_vkGetPhysicalDeviceSurfaceSupportKHR m_getPhysDevSurfaceSupport
 
PFN_vkDestroySurfaceKHR m_destroySurface
 

Detailed Description

Definition at line 18 of file qwindowsvulkaninstance.h.

Constructor & Destructor Documentation

◆ QWindowsVulkanInstance()

QT_BEGIN_NAMESPACE QWindowsVulkanInstance::QWindowsVulkanInstance ( QVulkanInstance * instance)

Definition at line 8 of file qwindowsvulkaninstance.cpp.

References QBasicPlatformVulkanInstance::loadVulkanLibrary(), and QStringLiteral.

+ Here is the call graph for this function:

Member Function Documentation

◆ createOrAdoptInstance()

void QWindowsVulkanInstance::createOrAdoptInstance ( )
override

Definition at line 16 of file qwindowsvulkaninstance.cpp.

References QBasicPlatformVulkanInstance::initInstance(), QBasicPlatformVulkanInstance::m_vkGetInstanceProcAddr, QBasicPlatformVulkanInstance::m_vkInst, QByteArrayLiteral, and qWarning.

+ Here is the call graph for this function:

◆ createSurface()

VkSurfaceKHR QWindowsVulkanInstance::createSurface ( HWND win)

◆ supportsPresent()

bool QWindowsVulkanInstance::supportsPresent ( VkPhysicalDevice physicalDevice,
uint32_t queueFamilyIndex,
QWindow * window )
override

Definition at line 29 of file qwindowsvulkaninstance.cpp.

References QBasicPlatformVulkanInstance::m_getPhysDevSurfaceSupport, ok, and window().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: