Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qssgrenderpass.cpp File Reference

(a22a94a3363ce1907fb39c4bd1990b8542da7f61)

#include "qssgrenderpass_p.h"
#include "qssgrhiquadrenderer_p.h"
#include "qssglayerrenderdata_p.h"
#include "qssgrendercontextcore.h"
#include "qssgdebugdrawsystem_p.h"
#include "extensionapi/qssgrenderextensions.h"
#include "qssgrenderhelpers_p.h"
#include "../utils/qssgassert_p.h"
#include <QtQuick/private/qsgrenderer_p.h>
#include <qtquick3d_tracepoints_p.h>
+ 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 19 of file qssgrenderpass.cpp.

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

Referenced by Item2DPass::renderPrep().

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