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
qquick3drenderstats.cpp File Reference

(3831aaa63ebf9758cf6c77a395c41c2a8ebdb2fc)

#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()