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

(d2db2713133f1150c8cd7a87ecb39de9b75397c9)

#include "qssgrenderer_p.h"
#include <QtQuick3DRuntimeRender/private/qssgrenderitem2d_p.h>
#include "../qssgrendercontextcore.h"
#include <QtQuick3DRuntimeRender/private/qssgrendercamera_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderlight_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderimage_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderbuffermanager_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendereffect_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrhicustommaterialsystem_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendershadercodegenerator_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderdefaultmaterialshadergenerator_p.h>
#include <QtQuick3DRuntimeRender/private/qssgperframeallocator_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrhiquadrenderer_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendertexturedata_p.h>
#include <QtQuick3DRuntimeRender/private/qssglayerrenderdata_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrhiparticles_p.h>
#include <QtQuick3DRuntimeRender/private/qssgvertexpipelineimpl_p.h>
#include "../qssgshadermapkey_p.h"
#include "../qssgrenderpickresult_p.h"
#include <QtQuick3DUtils/private/qquick3dprofiler_p.h>
#include <QtQuick3DUtils/private/qssgdataref_p.h>
#include <QtQuick3DUtils/private/qssgutils_p.h>
#include <QtQuick3DUtils/private/qssgassert_p.h>
#include <qtquick3d_tracepoints_p.h>
#include <QtCore/QMutexLocker>
#include <QtCore/QBitArray>
#include <cstdlib>
#include <algorithm>
#include <limits>
+ Include dependency graph for qssgrenderer.cpp:

Go to the source code of this file.

Typedefs

using RenderableList = QVarLengthArray<const QSSGRenderNode *>
 

Functions

template<typename Container >
static void cleanupResourcesImpl (const QSSGRenderContextInterface &rci, const Container &resources)
 
static QByteArray logPrefix ()
 
static void dfs (const QSSGRenderNode &node, RenderableList &renderables)
 

Typedef Documentation

◆ RenderableList

Definition at line 405 of file qssgrenderer.cpp.

Function Documentation

◆ cleanupResourcesImpl()

template<typename Container >
static void cleanupResourcesImpl ( const QSSGRenderContextInterface & rci,
const Container & resources )
static

Definition at line 153 of file qssgrenderer.cpp.

References QSSGRenderContextInterface::bufferManager(), QSSGRhiContextPrivate::get(), model, and QSSGRenderContextInterface::rhiContext().

Referenced by QSSGRenderer::cleanupResources(), and QSSGRenderer::cleanupResources().

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

◆ dfs()

static void dfs ( const QSSGRenderNode & node,
RenderableList & renderables )
static

Definition at line 406 of file qssgrenderer.cpp.

References child, QSSGRenderNode::children, dfs(), QSSGRenderGraphObject::isRenderable(), and QSSGRenderGraphObject::type.

Referenced by dfs(), and QSSGRendererPrivate::getLayerHitObjectList().

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

◆ logPrefix()

static QByteArray logPrefix ( )
static

Definition at line 207 of file qssgrenderer.cpp.

References QByteArrayLiteral.

Referenced by QSSGRendererPrivate::generateRhiShaderPipelineImpl().

+ Here is the caller graph for this function: