![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrhicontext_p.h>
Classes | |
struct | DrawInfo |
struct | GlobalInfo |
struct | InstancedDrawInfo |
struct | PerLayerInfo |
struct | RenderPassInfo |
Public Member Functions | |
QSSGRhiContextStats (QSSGRhiContext &context) | |
bool | isEnabled () const |
void | drawIndexed (quint32 indexCount, quint32 instanceCount) |
void | draw (quint32 vertexCount, quint32 instanceCount) |
void | meshDataSizeChanges (quint64 newSize) |
void | imageDataSizeChanges (quint64 newSize) |
void | registerMaterialShaderGenerationTime (qint64 ms) |
void | registerEffectShaderGenerationTime (qint64 ms) |
void | start (QSSGRenderLayer *layer) |
void | stop (QSSGRenderLayer *layer) |
void | beginRenderPass (QRhiTextureRenderTarget *rt) |
void | endRenderPass () |
void | printRenderPass (const RenderPassInfo &rp) |
void | cleanupLayerInfo (QSSGRenderLayer *layer) |
Static Public Member Functions | |
static QSSGRhiContextStats & | get (QSSGRhiContext &rhiCtx) |
static const QSSGRhiContextStats & | get (const QSSGRhiContext &rhiCtx) |
static bool | profilingEnabled () |
static bool | rendererDebugEnabled () |
static quint64 | totalDrawCallCountForPass (const QSSGRhiContextStats::RenderPassInfo &pass) |
static quint64 | totalVertexCountForPass (const QSSGRhiContextStats::RenderPassInfo &pass) |
Public Attributes | |
QHash< QSSGRenderLayer *, PerLayerInfo > | perLayerInfo |
GlobalInfo | globalInfo |
QSSGRhiContext * | rhiCtx |
QSSGRenderLayer * | layerKey = nullptr |
QSet< QSSGRenderLayer * > | dynamicDataSources |
Definition at line 787 of file qssgrhicontext_p.h.
|
inline |
Definition at line 837 of file qssgrhicontext_p.h.
void QSSGRhiContextStats::beginRenderPass | ( | QRhiTextureRenderTarget * | rt | ) |
Definition at line 1491 of file qssgrhicontext.cpp.
void QSSGRhiContextStats::cleanupLayerInfo | ( | QSSGRenderLayer * | layer | ) |
Definition at line 1485 of file qssgrhicontext.cpp.
Definition at line 1549 of file qssgrhicontext.cpp.
Definition at line 1534 of file qssgrhicontext.cpp.
void QSSGRhiContextStats::endRenderPass | ( | ) |
Definition at line 1499 of file qssgrhicontext.cpp.
|
staticnodiscard |
Definition at line 1511 of file qssgrhicontext.cpp.
|
staticnodiscard |
Definition at line 1506 of file qssgrhicontext.cpp.
Definition at line 867 of file qssgrhicontext_p.h.
bool QSSGRhiContextStats::isEnabled | ( | ) | const |
Definition at line 1528 of file qssgrhicontext.cpp.
Definition at line 862 of file qssgrhicontext_p.h.
void QSSGRhiContextStats::printRenderPass | ( | const RenderPassInfo & | rp | ) |
Definition at line 1564 of file qssgrhicontext.cpp.
|
static |
Definition at line 1516 of file qssgrhicontext.cpp.
Definition at line 877 of file qssgrhicontext_p.h.
Definition at line 872 of file qssgrhicontext_p.h.
|
static |
Definition at line 1522 of file qssgrhicontext.cpp.
void QSSGRhiContextStats::start | ( | QSSGRenderLayer * | layer | ) |
Definition at line 1448 of file qssgrhicontext.cpp.
void QSSGRhiContextStats::stop | ( | QSSGRenderLayer * | layer | ) |
Definition at line 1457 of file qssgrhicontext.cpp.
|
inlinestatic |
Definition at line 882 of file qssgrhicontext_p.h.
|
inlinestatic |
Definition at line 890 of file qssgrhicontext_p.h.
QSet<QSSGRenderLayer *> QSSGRhiContextStats::dynamicDataSources |
Definition at line 907 of file qssgrhicontext_p.h.
GlobalInfo QSSGRhiContextStats::globalInfo |
Definition at line 835 of file qssgrhicontext_p.h.
QSSGRenderLayer* QSSGRhiContextStats::layerKey = nullptr |
Definition at line 906 of file qssgrhicontext_p.h.
QHash<QSSGRenderLayer *, PerLayerInfo> QSSGRhiContextStats::perLayerInfo |
Definition at line 834 of file qssgrhicontext_p.h.
QSSGRhiContext* QSSGRhiContextStats::rhiCtx |
Definition at line 905 of file qssgrhicontext_p.h.