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
QSSGParticleRenderer Class Reference

#include <qssgrhiparticles_p.h>

Collaboration diagram for QSSGParticleRenderer:

Static Public Member Functions

static void updateUniformsForParticles (const QSSGLayerRenderData &inData, QSSGRhiShaderPipeline &shaderPipeline, QSSGRhiContext *rhiCtx, char *ubufData, QSSGParticlesRenderable &renderable, const QSSGRenderCameraList &cameras)
static void updateUniformsForParticleModel (QSSGRhiShaderPipeline &shaderPipeline, char *ubufData, const QSSGRenderModel *model, quint32 offset)
static QSSGRhiShaderPipelinePtr getShaderPipelineParticles (QSSGRenderer &renderer, QSSGParticlesRenderable &inRenderable, const QSSGShaderFeatures &inFeatureSet)
static QSSGRhiShaderPipelinePtr generateRhiShaderPipeline (QSSGRenderer &renderer, QSSGParticlesRenderable &inRenderable, const QSSGShaderFeatures &inFeatureSet, QByteArray &shaderString, const QSSGShaderParticleMaterialKeyProperties &shaderKeyProperties)
static void rhiPrepareRenderable (QSSGRhiShaderPipeline &shaderPipeline, QSSGPassKey passKey, QSSGRhiContext *rhiCtx, QSSGRhiGraphicsPipelineState *ps, QSSGParticlesRenderable &renderable, const QSSGLayerRenderData &inData, QRhiRenderPassDescriptor *renderPassDescriptor, int samples, int viewCount, QSSGRenderCamera *alteredCamera=nullptr, QSSGRenderTextureCubeFace cubeFace=QSSGRenderTextureCubeFaceNone, QSSGReflectionMapEntry *entry=nullptr, bool oit=false)
static void rhiRenderRenderable (QSSGRhiContext *rhiCtx, QSSGParticlesRenderable &renderable, bool *needsSetViewport, QSSGRenderTextureCubeFace cubeFace, const QSSGRhiGraphicsPipelineState &state)
static void prepareParticlesForModel (QSSGRhiShaderPipeline &shaderPipeline, QSSGRhiContext *rhiCtx, QSSGRhiShaderResourceBindingList &bindings, const QSSGRenderModel *model)
static QSSGShaderFeatures particleShaderFeatures (const QSSGShaderFeatures &features)
static void setShaderCacheEnabled (bool enabled)

Detailed Description

Definition at line 36 of file qssgrhiparticles_p.h.

Member Function Documentation

◆ generateRhiShaderPipeline()

QSSGRhiShaderPipelinePtr QSSGParticleRenderer::generateRhiShaderPipeline ( QSSGRenderer & renderer,
QSSGParticlesRenderable & inRenderable,
const QSSGShaderFeatures & inFeatureSet,
QByteArray & shaderString,
const QSSGShaderParticleMaterialKeyProperties & shaderKeyProperties )
static

Definition at line 764 of file qssgrhiparticles.cpp.

◆ getShaderPipelineParticles()

QSSGRhiShaderPipelinePtr QSSGParticleRenderer::getShaderPipelineParticles ( QSSGRenderer & renderer,
QSSGParticlesRenderable & inRenderable,
const QSSGShaderFeatures & inFeatureSet )
static

Definition at line 1043 of file qssgrhiparticles.cpp.

◆ particleShaderFeatures()

QSSGShaderFeatures QSSGParticleRenderer::particleShaderFeatures ( const QSSGShaderFeatures & features)
static

Definition at line 751 of file qssgrhiparticles.cpp.

◆ prepareParticlesForModel()

void QSSGParticleRenderer::prepareParticlesForModel ( QSSGRhiShaderPipeline & shaderPipeline,
QSSGRhiContext * rhiCtx,
QSSGRhiShaderResourceBindingList & bindings,
const QSSGRenderModel * model )
static

Definition at line 613 of file qssgrhiparticles.cpp.

◆ rhiPrepareRenderable()

void QSSGParticleRenderer::rhiPrepareRenderable ( QSSGRhiShaderPipeline & shaderPipeline,
QSSGPassKey passKey,
QSSGRhiContext * rhiCtx,
QSSGRhiGraphicsPipelineState * ps,
QSSGParticlesRenderable & renderable,
const QSSGLayerRenderData & inData,
QRhiRenderPassDescriptor * renderPassDescriptor,
int samples,
int viewCount,
QSSGRenderCamera * alteredCamera = nullptr,
QSSGRenderTextureCubeFace cubeFace = QSSGRenderTextureCubeFaceNone,
QSSGReflectionMapEntry * entry = nullptr,
bool oit = false )
static

Definition at line 391 of file qssgrhiparticles.cpp.

◆ rhiRenderRenderable()

void QSSGParticleRenderer::rhiRenderRenderable ( QSSGRhiContext * rhiCtx,
QSSGParticlesRenderable & renderable,
bool * needsSetViewport,
QSSGRenderTextureCubeFace cubeFace,
const QSSGRhiGraphicsPipelineState & state )
static

Definition at line 1089 of file qssgrhiparticles.cpp.

◆ setShaderCacheEnabled()

void QSSGParticleRenderer::setShaderCacheEnabled ( bool enabled)
static

Definition at line 47 of file qssgrhiparticles.cpp.

◆ updateUniformsForParticleModel()

void QSSGParticleRenderer::updateUniformsForParticleModel ( QSSGRhiShaderPipeline & shaderPipeline,
char * ubufData,
const QSSGRenderModel * model,
quint32 offset )
static

Definition at line 210 of file qssgrhiparticles.cpp.

◆ updateUniformsForParticles()

void QSSGParticleRenderer::updateUniformsForParticles ( const QSSGLayerRenderData & inData,
QSSGRhiShaderPipeline & shaderPipeline,
QSSGRhiContext * rhiCtx,
char * ubufData,
QSSGParticlesRenderable & renderable,
const QSSGRenderCameraList & cameras )
static

Definition at line 52 of file qssgrhiparticles.cpp.


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