PySide6.QtGui.QRhiSwapChainRenderTarget

class QRhiSwapChainRenderTarget

Swapchain render target resource.

Details

When targeting the color buffers of a swapchain, active render target is a QRhiSwapChainRenderTarget . This is what currentFrameRenderTarget() returns.

Note

This is a RHI API with limited compatibility guarantees, see QRhi for details.

See also

QRhiSwapChain

Inheritance diagram of PySide6.QtGui.QRhiSwapChainRenderTarget

Added in version 6.6.

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

PySide6.QtGui.QRhiSwapChainRenderTarget.m_swapchain
swapChain()
Return type:

QRhiSwapChain

Returns the swapchain object.