Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSSGRendererPrivate Class Reference

#include <qssgrenderer_p.h>

Collaboration diagram for QSSGRendererPrivate:

Public Types

using PickResultList = QVarLengthArray<QSSGRenderPickResult, 20>

Static Public Member Functions

static QSSGRhiShaderPipelinePtr generateRhiShaderPipelineImpl (QSSGSubsetRenderable &renderable, QSSGShaderLibraryManager &shaderLibraryManager, QSSGShaderCache &shaderCache, QSSGProgramGenerator &shaderProgramGenerator, const QSSGShaderDefaultMaterialKeyProperties &shaderKeyProperties, const QSSGShaderFeatures &featureSet, QByteArray &shaderString)
static QSSGRhiShaderPipelinePtr generateRhiShaderPipeline (QSSGRenderer &renderer, QSSGSubsetRenderable &inRenderable, const QSSGShaderFeatures &inFeatureSet)
static QSSGRhiShaderPipelinePtr getShaderPipelineForDefaultMaterial (QSSGRenderer &renderer, QSSGSubsetRenderable &inRenderable, const QSSGShaderFeatures &inFeatureSet)
static void getLayerHitObjectList (const QSSGRenderLayer &layer, QSSGBufferManager &bufferManager, const QSSGRenderRay &ray, bool inPickEverything, PickResultList &outIntersectionResult)
static void intersectRayWithSubsetRenderable (const QSSGRenderLayer &layer, QSSGBufferManager &bufferManager, const QSSGRenderRay &inRay, const QSSGRenderNode &node, PickResultList &outIntersectionResultList)
static void intersectRayWithItem2D (const QSSGRenderLayer &layer, const QSSGRenderRay &inRay, const QSSGRenderItem2D &item2D, PickResultList &outIntersectionResultList)
static PickResultList syncPickAll (const QSSGRenderContextInterface &ctx, const QSSGRenderLayer &layer, const QSSGRenderRay &ray)
static PickResultList syncPick (const QSSGRenderContextInterface &ctx, const QSSGRenderLayer &layer, const QSSGRenderRay &ray, QSSGRenderNode *target=nullptr)
static PickResultList syncPickSubset (const QSSGRenderLayer &layer, QSSGBufferManager &bufferManager, const QSSGRenderRay &ray, QVarLengthArray< QSSGRenderNode * > subset)
static bool isGlobalPickingEnabled (const QSSGRenderer &renderer)
static void setGlobalPickingEnabled (QSSGRenderer &renderer, bool isEnabled)
static void setRenderContextInterface (QSSGRenderer &renderer, QSSGRenderContextInterface *ctx)
static void setSgRenderContext (QSSGRenderer &renderer, QSGRenderContext *sgRenderCtx)
static QSSGLayerRenderDatagetCurrentRenderData (const QSSGRenderer &renderer)
static QSGRenderContextgetSgRenderContext (const QSSGRenderer &renderer)

Static Public Attributes

static constexpr float minimumRenderOpacity = .01f

Detailed Description

Definition at line 144 of file qssgrenderer_p.h.

Member Typedef Documentation

◆ PickResultList

Member Function Documentation

◆ generateRhiShaderPipeline()

QSSGRhiShaderPipelinePtr QSSGRendererPrivate::generateRhiShaderPipeline ( QSSGRenderer & renderer,
QSSGSubsetRenderable & inRenderable,
const QSSGShaderFeatures & inFeatureSet )
static

Definition at line 309 of file qssgrenderer.cpp.

◆ generateRhiShaderPipelineImpl()

QSSGRhiShaderPipelinePtr QSSGRendererPrivate::generateRhiShaderPipelineImpl ( QSSGSubsetRenderable & renderable,
QSSGShaderLibraryManager & shaderLibraryManager,
QSSGShaderCache & shaderCache,
QSSGProgramGenerator & shaderProgramGenerator,
const QSSGShaderDefaultMaterialKeyProperties & shaderKeyProperties,
const QSSGShaderFeatures & featureSet,
QByteArray & shaderString )
static

Definition at line 254 of file qssgrenderer.cpp.

◆ getCurrentRenderData()

QSSGLayerRenderData * QSSGRendererPrivate::getCurrentRenderData ( const QSSGRenderer & renderer)
inlinestatic

Definition at line 200 of file qssgrenderer_p.h.

◆ getLayerHitObjectList()

void QSSGRendererPrivate::getLayerHitObjectList ( const QSSGRenderLayer & layer,
QSSGBufferManager & bufferManager,
const QSSGRenderRay & ray,
bool inPickEverything,
PickResultList & outIntersectionResult )
static

Definition at line 480 of file qssgrenderer.cpp.

◆ getSgRenderContext()

QSGRenderContext * QSSGRendererPrivate::getSgRenderContext ( const QSSGRenderer & renderer)
static

Definition at line 427 of file qssgrenderer.cpp.

◆ getShaderPipelineForDefaultMaterial()

QSSGRhiShaderPipelinePtr QSSGRendererPrivate::getShaderPipelineForDefaultMaterial ( QSSGRenderer & renderer,
QSSGSubsetRenderable & inRenderable,
const QSSGShaderFeatures & inFeatureSet )
static

Definition at line 639 of file qssgrenderer.cpp.

◆ intersectRayWithItem2D()

void QSSGRendererPrivate::intersectRayWithItem2D ( const QSSGRenderLayer & layer,
const QSSGRenderRay & inRay,
const QSSGRenderItem2D & item2D,
PickResultList & outIntersectionResultList )
static

Definition at line 607 of file qssgrenderer.cpp.

◆ intersectRayWithSubsetRenderable()

void QSSGRendererPrivate::intersectRayWithSubsetRenderable ( const QSSGRenderLayer & layer,
QSSGBufferManager & bufferManager,
const QSSGRenderRay & inRay,
const QSSGRenderNode & node,
PickResultList & outIntersectionResultList )
static

Definition at line 497 of file qssgrenderer.cpp.

◆ isGlobalPickingEnabled()

bool QSSGRendererPrivate::isGlobalPickingEnabled ( const QSSGRenderer & renderer)
inlinestatic

Definition at line 194 of file qssgrenderer_p.h.

◆ setGlobalPickingEnabled()

void QSSGRendererPrivate::setGlobalPickingEnabled ( QSSGRenderer & renderer,
bool isEnabled )
static

Definition at line 412 of file qssgrenderer.cpp.

◆ setRenderContextInterface()

void QSSGRendererPrivate::setRenderContextInterface ( QSSGRenderer & renderer,
QSSGRenderContextInterface * ctx )
static

Definition at line 417 of file qssgrenderer.cpp.

◆ setSgRenderContext()

void QSSGRendererPrivate::setSgRenderContext ( QSSGRenderer & renderer,
QSGRenderContext * sgRenderCtx )
static

Definition at line 422 of file qssgrenderer.cpp.

◆ syncPick()

QSSGRendererPrivate::PickResultList QSSGRendererPrivate::syncPick ( const QSSGRenderContextInterface & ctx,
const QSSGRenderLayer & layer,
const QSSGRenderRay & ray,
QSSGRenderNode * target = nullptr )
static

Definition at line 374 of file qssgrenderer.cpp.

◆ syncPickAll()

QSSGRendererPrivate::PickResultList QSSGRendererPrivate::syncPickAll ( const QSSGRenderContextInterface & ctx,
const QSSGRenderLayer & layer,
const QSSGRenderRay & ray )
static

Definition at line 358 of file qssgrenderer.cpp.

◆ syncPickSubset()

QSSGRendererPrivate::PickResultList QSSGRendererPrivate::syncPickSubset ( const QSSGRenderLayer & layer,
QSSGBufferManager & bufferManager,
const QSSGRenderRay & ray,
QVarLengthArray< QSSGRenderNode * > subset )
static

Definition at line 395 of file qssgrenderer.cpp.

Member Data Documentation

◆ minimumRenderOpacity

float QSSGRendererPrivate::minimumRenderOpacity = .01f
staticconstexpr

Definition at line 204 of file qssgrenderer_p.h.


The documentation for this class was generated from the following files: