QRhiSwapChainRenderTarget Class
Recurso de destino de renderizado de Swapchain. 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: | QRhiRenderTarget |
Funciones públicas
| QRhiSwapChain * | swapChain() const |
Funciones públicas reimplementadas
| virtual QRhiResource::Type | resourceType() const override |
Descripción detallada
Cuando se seleccionan los búferes de color de una cadena de intercambio (swapchain), el destino de renderizado activo es un QRhiSwapChainRenderTarget. Esto es lo que devuelve la función QRhiSwapChain::currentFrameRenderTarget().
Nota: Se trata de una API RHI con garantías de compatibilidad limitadas; consulta QRhi para obtener más detalles.
Véase también QRhiSwapChain.
Documentación de las funciones de miembro
[override virtual] QRhiResource::Type QRhiSwapChainRenderTarget::resourceType() const
Reimplementa: ` QRhiResource::resourceType()` const.
Devuelve el tipo de recurso.
QRhiSwapChain *QRhiSwapChainRenderTarget::swapChain() const
Devuelve el objeto swapchain.
© 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.