Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickrendertarget.cpp File Reference
#include "qquickrendertarget_p.h"
#include <rhi/qrhi.h>
#include <QtQuick/private/qquickitem_p.h>
#include <QtQuick/private/qquickwindow_p.h>
#include <QtQuick/private/qsgrhisupport_p.h>
+ Include dependency graph for qquickrendertarget.cpp:

Go to the source code of this file.

Functions

static bool createRhiRenderTarget (const QRhiColorAttachment &colorAttachment, const QSize &pixelSize, int sampleCount, QRhi *rhi, QQuickWindowRenderTarget *dst)
 

Function Documentation

◆ createRhiRenderTarget()

static bool createRhiRenderTarget ( const QRhiColorAttachment colorAttachment,
const QSize pixelSize,
int  sampleCount,
QRhi rhi,
QQuickWindowRenderTarget dst 
)
static

Definition at line 738 of file qquickrendertarget.cpp.

References QRhiRenderBuffer::DepthStencil, QRhi::newRenderBuffer(), QRhi::newTextureRenderTarget(), qWarning, and QRhiTextureRenderTargetDescription::setDepthStencilBuffer().

Referenced by QQuickRenderTargetPrivate::resolve().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: