En esta página

QRhiNullInitParams Struct

No hay parámetros de inicialización específicos del backend. Más...

Encabezado: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
Desde: Qt 6.6
Heredado de: QRhiInitParams

Descripción detallada

Nota: Se trata de una API RHI con garantías de compatibilidad limitadas; consulta QRhi para obtener más detalles.

Un ` QRhi ` de tipo `Null` no necesita parámetros especiales para su inicialización.

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

El backend «Null» no realiza ninguna llamada gráfica ni crea recursos. Todas las operaciones de QRhi se ejecutarán con normalidad, por lo que las aplicaciones podrán seguir ejecutándose, aunque potencialmente a una velocidad sin limitación, dependiendo de su estrategia de renderizado de fotogramas.

© 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.