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

(6f2e533c685e3a0870c67cc54663c970fcb7cb56)

#include "qssgrhicontext_p.h"
#include <QtCore/qvariant.h>
#include <QtGui/private/qrhi_p.h>
#include <QtQuick3DUtils/private/qquick3dprofiler_p.h>
#include <QtQuick3DUtils/private/qssgmesh_p.h>
#include <QtQuick3DUtils/private/qssgassert_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderableimage_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendermesh_p.h>
#include <QtQuick3DUtils/private/qssgutils_p.h>
#include <qtquick3d_tracepoints_p.h>
+ Include dependency graph for qssgrhicontext.cpp:

Go to the source code of this file.

Namespaces

namespace  QSSGRhiHelpers
 

Typedefs

using SamplerInfo = QPair<QSSGRhiSamplerDescription, QRhiSampler*>
 

Functions

QT_BEGIN_NAMESPACE Q_TRACE_POINT (qtquick3d, QSSG_renderPass_entry, const QString &renderPass)
 
 Q_TRACE_POINT (qtquick3d, QSSG_renderPass_exit)
 
 Q_TRACE_POINT (qtquick3d, QSSG_drawIndexed, int indexCount, int instanceCount)
 
 Q_TRACE_POINT (qtquick3d, QSSG_draw, int vertexCount, int instanceCount)
 
QRhiVertexInputAttribute::Format QSSGRhiHelpers::toVertexInputFormat (QSSGRenderComponentType compType, quint32 numComps)
 
QRhiGraphicsPipeline::Topology QSSGRhiHelpers::toTopology (QSSGRenderDrawMode drawMode)
 
void QSSGRhiHelpers::bakeVertexInputLocations (QSSGRhiInputAssemblerState *ia, const QSSGRhiShaderPipeline &shaders, int instanceBufferBinding)
 
static QString getUBMemberSizeWarning (QLatin1StringView name, qsizetype correctedSize, qsizetype requestedSize)
 

Typedef Documentation

◆ SamplerInfo

Function Documentation

◆ getUBMemberSizeWarning()

static QString getUBMemberSizeWarning ( QLatin1StringView name,
qsizetype correctedSize,
qsizetype requestedSize )
static

Definition at line 636 of file qssgrhicontext.cpp.

References QString::number(), and QStringLiteral.

Referenced by QSSGRhiShaderPipeline::setUniform(), and QSSGRhiShaderPipeline::setUniformArray().

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

◆ Q_TRACE_POINT() [1/4]

Q_TRACE_POINT ( qtquick3d ,
QSSG_draw ,
int vertexCount,
int instanceCount )

◆ Q_TRACE_POINT() [2/4]

Q_TRACE_POINT ( qtquick3d ,
QSSG_drawIndexed ,
int indexCount,
int instanceCount )

◆ Q_TRACE_POINT() [3/4]

QT_BEGIN_NAMESPACE Q_TRACE_POINT ( qtquick3d ,
QSSG_renderPass_entry ,
const QString & renderPass )

◆ Q_TRACE_POINT() [4/4]

Q_TRACE_POINT ( qtquick3d ,
QSSG_renderPass_exit  )