QRhiSwapChainRenderTarget Class
Recurso de destino de renderizado Swapchain. Más...
| Cabecera: | #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 |
| Hereda: | QRhiRenderTarget |
Funciones Públicas
| QRhiSwapChain * | swapChain() const |
Funciones Públicas Reimplementadas
| virtual QRhiResource::Type | resourceType() const override |
Descripción Detallada
Cuando el objetivo son los buffers de color de una swapchain, el objetivo de render activo es un QRhiSwapChainRenderTarget. Esto es lo que devuelve QRhiSwapChain::currentFrameRenderTarget().
Nota: Se trata de una API RHI con garantías de compatibilidad limitadas, véase QRhi para más detalles.
Véase también QRhiSwapChain.
Documentación de las funciones 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.