QRhiSwapChainRenderTarget Class
Recurso de destino de renderização do Swapchain. Mais...
| Cabeçalho: | #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 |
| Herdado de: | QRhiRenderTarget |
Funções públicas
| QRhiSwapChain * | swapChain() const |
Funções públicas reimplementadas
| virtual QRhiResource::Type | resourceType() const override |
Descrição detalhada
Ao direcionar os buffers de cor de uma swapchain, o alvo de renderização ativo é um QRhiSwapChainRenderTarget. É isso que a função QRhiSwapChain::currentFrameRenderTarget() retorna.
Observação: esta é uma API RHI com garantias de compatibilidade limitadas; consulte QRhi para obter detalhes.
Veja também QRhiSwapChain.
Documentação das funções de membro
[override virtual] QRhiResource::Type QRhiSwapChainRenderTarget::resourceType() const
Reimplementa: ` QRhiResource::resourceType()` const.
Retorna o tipo do recurso.
QRhiSwapChain *QRhiSwapChainRenderTarget::swapChain() const
Retorna o 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.