Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquick3drenderstats.cpp File Reference
#include "qquick3drenderstats_p.h"
#include <QtQuick3DRuntimeRender/private/qssgrendermesh_p.h>
#include <QtQuick/qquickwindow.h>
#include <QtQuick/qquickitem.h>
+ Include dependency graph for qquick3drenderstats.cpp:

Go to the source code of this file.

Functions

static const char * textureFormatStr (QRhiTexture::Format format)
 
static void printRenderPassDetails (QString *dst, const QSSGRhiContextStats::RenderPassInfo &rp)
 
static QByteArray nameForRenderMesh (const QSSGRenderMesh *mesh)
 

Function Documentation

◆ nameForRenderMesh()

static QByteArray nameForRenderMesh ( const QSSGRenderMesh mesh)
inlinestatic

Definition at line 408 of file qquick3drenderstats.cpp.

References QSSGRenderMesh::subsets.

◆ printRenderPassDetails()

static void printRenderPassDetails ( QString dst,
const QSSGRhiContextStats::RenderPassInfo rp 
)
inlinestatic

Definition at line 398 of file qquick3drenderstats.cpp.

References QString::asprintf(), QByteArray::constData(), QSize::height(), QSSGRhiContextStats::RenderPassInfo::pixelSize, QSSGRhiContextStats::RenderPassInfo::rtName, QSSGRhiContextStats::totalDrawCallCountForPass(), QSSGRhiContextStats::totalVertexCountForPass(), and QSize::width().

+ Here is the call graph for this function:

◆ textureFormatStr()