Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qssgrenderpass.cpp File Reference
#include "qssgrenderpass_p.h"
#include "qssgrhiquadrenderer_p.h"
#include "qssglayerrenderdata_p.h"
#include "qssgrendercontextcore_p.h"
#include "qssgdebugdrawsystem_p.h"
#include "extensionapi/qssgrenderextensions_p.h"
#include "../utils/qssgassert_p.h"
#include <QtQuick/private/qsgrenderer_p.h>
#include <qtquick3d_tracepoints_p.h>
#include <QtQuick3D/QQuick3DObject>
+ Include dependency graph for qssgrenderpass.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE QMatrix4x4 correctMVPForScissor (QRectF viewportRect, QRect scissorRect, bool isYUp)
 

Function Documentation

◆ correctMVPForScissor()

static QT_BEGIN_NAMESPACE QMatrix4x4 correctMVPForScissor ( QRectF  viewportRect,
QRect  scissorRect,
bool  isYUp 
)
inlinestatic

Definition at line 20 of file qssgrenderpass.cpp.

References QRect::center(), QRectF::center(), QRect::height(), QRectF::height(), QRect::width(), and QRectF::width().

Referenced by MainPass::renderPrep().

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