Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSSGRhiEffectSystem Class Reference

#include <qssgrhieffectsystem_p.h>

+ Collaboration diagram for QSSGRhiEffectSystem:

Public Member Functions

 QSSGRhiEffectSystem (const std::shared_ptr< QSSGRenderContextInterface > &sgContext)
 
 ~QSSGRhiEffectSystem ()
 
void setup (QSize outputSize)
 
QRhiTextureprocess (const QSSGRenderEffect &firstEffect, QRhiTexture *inTexture, QRhiTexture *inDepthTexture, QVector2D cameraClipRange)
 

Static Public Member Functions

static QSSGRenderTextureFormat::Format overriddenOutputFormat (const QSSGRenderEffect *inEffect)
 
static QSSGRhiShaderPipelinePtr buildShaderForEffect (const QSSGBindShader &inCmd, QSSGProgramGenerator &generator, QSSGShaderLibraryManager &shaderLib, QSSGShaderCache &shaderCache, bool isYUpInFramebuffer)
 

Detailed Description

Definition at line 63 of file qssgrhieffectsystem_p.h.

Constructor & Destructor Documentation

◆ QSSGRhiEffectSystem()

QSSGRhiEffectSystem::QSSGRhiEffectSystem ( const std::shared_ptr< QSSGRenderContextInterface > &  sgContext)
explicit

Definition at line 39 of file qssgrhieffectsystem.cpp.

◆ ~QSSGRhiEffectSystem()

QSSGRhiEffectSystem::~QSSGRhiEffectSystem ( )

Definition at line 44 of file qssgrhieffectsystem.cpp.

Member Function Documentation

◆ buildShaderForEffect()

QSSGRhiShaderPipelinePtr QSSGRhiEffectSystem::buildShaderForEffect ( const QSSGBindShader inCmd,
QSSGProgramGenerator generator,
QSSGShaderLibraryManager shaderLib,
QSSGShaderCache shaderCache,
bool  isYUpInFramebuffer 
)
static

◆ overriddenOutputFormat()

QSSGRenderTextureFormat::Format QSSGRhiEffectSystem::overriddenOutputFormat ( const QSSGRenderEffect inEffect)
static

Definition at line 192 of file qssgrhieffectsystem.cpp.

References BindTarget, QSSGRenderEffect::commands, QSSGRenderTextureFormat::format, QSSGBindTarget::m_outputFormat, QSSGCommand::m_type, QSSGRenderEffect::outputFormat, and QSSGRenderTextureFormat::Unknown.

Referenced by QQuick3DSceneRenderer::synchronize().

+ Here is the caller graph for this function:

◆ process()

QRhiTexture * QSSGRhiEffectSystem::process ( const QSSGRenderEffect firstEffect,
QRhiTexture inTexture,
QRhiTexture inDepthTexture,
QVector2D  cameraClipRange 
)

Definition at line 155 of file qssgrhieffectsystem.cpp.

References QSSG_ASSERT, and renderer.

Referenced by QQuick3DSceneRenderer::renderToRhiTexture().

+ Here is the caller graph for this function:

◆ setup()

void QSSGRhiEffectSystem::setup ( QSize  outputSize)

Definition at line 49 of file qssgrhieffectsystem.cpp.

References QSize::isEmpty().

Referenced by QQuick3DSceneRenderer::synchronize().

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

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