![]() |
Qt 6.x
The Qt SDK
|
\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)