![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h More...
#include <qrhi.h>
Public Member Functions | |
| virtual | ~QRhiAdapter () |
| virtual QRhiDriverInfo | info () const =0 |
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
Represents a physical graphics device.
Some QRhi backends target graphics APIs that expose the concept of adapters or {physical devices}. Call the static \l {QRhi::}{enumerateAdapters()} function to retrieve a list of the adapters present in the system. Pass one of the returned QRhiAdapter objects to \l {QRhi::}{create()} in order to request using the adapter or physical device the QRhiAdapter corresponds to. Other than exposing the QRhiDriverInfo, QRhiAdapter is to be treated as an opaque handle.
VkInstance) and cannot be used in the context of another Vulkan instance.
|
pure virtual |
Implemented in QD3D11Adapter, and QVulkanAdapter.