In questa pagina

QRhiNullInitParams Struct

Parametri di inizializzazione specifici del backend nulli. Altro...

Intestazione: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
A partire da: Qt 6.6
Eredita da: QRhiInitParams

Descrizione dettagliata

Nota: Si tratta di un'API RHI con garanzie di compatibilità limitate; per ulteriori dettagli, consultare QRhi.

Un backend Null QRhi non richiede parametri speciali per l'inizializzazione.

QRhiNullInitParams params;
rhi = QRhi::create(QRhi::Null, &params);

Il backend Null non emette alcuna chiamata grafica e non crea risorse. Tutte le operazioni QRhi andranno a buon fine come di consueto, pertanto le applicazioni potranno comunque essere eseguite, sebbene potenzialmente a una velocità non limitata, a seconda della loro strategia di rendering dei fotogrammi.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.