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>.
|
\inmodule QtRhi More...
\inmodule QtRhi
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)