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
QVulkanWindowRenderer Class Reference

\inmodule QtGui More...

+ Inheritance diagram for QVulkanWindowRenderer:
+ Collaboration diagram for QVulkanWindowRenderer:

Detailed Description

\inmodule QtGui

Since
5.10

The QVulkanWindowRenderer class is used to implement the application-specific rendering logic for a QVulkanWindow.

Applications typically subclass both QVulkanWindow and QVulkanWindowRenderer. The former allows handling events, for example, input, while the latter allows implementing the Vulkan resource management and command buffer building that make up the application's rendering.

In addition to event handling, the QVulkanWindow subclass is responsible for providing an implementation for QVulkanWindow::createRenderer() as well. This is where the window and renderer get connected. A typical implementation will simply create a new instance of a subclass of QVulkanWindowRenderer.


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