QSSGRenderExtensionHelpers Class
Clase que contiene funciones de ayuda para las extensiones. Más...
| Header: | #include <QSSGRenderExtensionHelpers> |
| Since: | Qt 6.7 |
Miembros públicos estáticos
| void | registerRenderResult(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiTexture *texture) |
Documentación de las funciones de los miembros
[static] void QSSGRenderExtensionHelpers::registerRenderResult(const QSSGFrameData &frameData, QSSGExtensionId extension, QRhiTexture *texture)
Registra un resultado de renderizado, en forma de textura, para este extension. Una vez registrada una textura, la extensión puede ser utilizada como un {QtQuick3D::Texture::textureProvider}{proveedor de textura} en QML.
Nota: Para asegurar que el texture está disponible para renderizables, por ejemplo para ser usado por un elemento {QtQuick3D::Texture}, las texturas deben ser registradas durante la llamada a QSSGRenderExtension::prepareData de la extensión.
Nota: Llamar a esta función con una nueva textura anulará el registro de cualquier textura previamente registrada. Para anular el registro de una textura, llame a esta función con una textura nullptr.
frameData
Véase también textureProvider.
© 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.