![]() |
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...
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
Metal specific initialization parameters.
A Metal-based QRhi needs no special parameters for initialization.
\badcode QRhiMetalInitParams params; rhi = QRhi::create(QRhi::Metal, ¶ms);
{.xcodeproj} file via
{cmake -G Xcode}, or set the environment variable
{METAL_DEVICE_WRAPPER_TYPE=1}. The variable needs to be set early on in the environment, perferably before starting the process; attempting to set it at QRhi creation time is not functional in practice. (too late probably)