Swapchain render target resource. 更多...
| 头: | #include <QRhiSwapChainRenderTarget> |
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Since: | Qt 6.6 |
| 继承: | QRhiRenderTarget |
| QRhiSwapChain * | swapChain () const |
| virtual QRhiResource::Type | resourceType () const override |
When targeting the color buffers of a swapchain, active render target is a QRhiSwapChainRenderTarget. This is what QRhiSwapChain::currentFrameRenderTarget () returns.
注意: This is a RHI API with limited compatibility guarantees, see QRhi 了解细节。
另请参阅 QRhiSwapChain .
[override virtual]
QRhiResource::Type
QRhiSwapChainRenderTarget::
resourceType
() const
重实现: QRhiResource::resourceType() const .
Returns the resource type.
Returns the swapchain object.