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

#include <qssgrenderpass_p.h>

+ Inheritance diagram for SkyboxPass:
+ Collaboration diagram for SkyboxPass:

Public Member Functions

void renderPrep (QSSGRenderer &renderer, QSSGLayerRenderData &data) final
 
void renderPass (QSSGRenderer &renderer) final
 
Type passType () const final
 
void resetForFrame () final
 
- Public Member Functions inherited from QSSGRenderPass
virtual ~QSSGRenderPass ()
 

Public Attributes

QSSGRenderLayerlayer = nullptr
 
QRhiRenderPassDescriptorrpDesc = nullptr
 
QSSGRhiGraphicsPipelineState ps
 
bool skipTonemapping = false
 
bool skipPrep = false
 

Additional Inherited Members

- Public Types inherited from QSSGRenderPass
enum class  Type { Standalone , Main , Extension }
 

Detailed Description

Definition at line 135 of file qssgrenderpass_p.h.

Member Function Documentation

◆ passType()

Type SkyboxPass::passType ( ) const
inlinefinalvirtual

Implements QSSGRenderPass.

Definition at line 140 of file qssgrenderpass_p.h.

◆ renderPass()

void SkyboxPass::renderPass ( QSSGRenderer & renderer)
finalvirtual

Implements QSSGRenderPass.

Definition at line 837 of file qssgrenderpass.cpp.

References QSSGRenderLayer::Custom, QSSGRenderLayer::None, ps, Q_QUICK3D_PROFILE_END_WITH_STRING, Q_QUICK3D_PROFILE_START, Q_TRACE_SCOPE, QByteArrayLiteral, QSSG_ASSERT, QSSG_CHECK, QStringLiteral, renderer, rpDesc, QSSGRhiGraphicsPipelineStatePrivate::setShaderPipeline(), and skipTonemapping.

+ Here is the call graph for this function:

◆ renderPrep()

void SkyboxPass::renderPrep ( QSSGRenderer & renderer,
QSSGLayerRenderData & data )
finalvirtual

Implements QSSGRenderPass.

Definition at line 811 of file qssgrenderpass.cpp.

References QRhiGraphicsPipeline::Fill, QSSGRhiGraphicsPipelineState::polygonMode, ps, QSSG_ASSERT, renderer, RenderHelpers::rhiPrepareSkyBox(), rpDesc, QSSGRhiGraphicsPipelineState::samples, skipPrep, skipTonemapping, and QSSGRhiGraphicsPipelineState::viewCount.

+ Here is the call graph for this function:

◆ resetForFrame()

void SkyboxPass::resetForFrame ( )
finalvirtual

Implements QSSGRenderPass.

Definition at line 861 of file qssgrenderpass.cpp.

References ps, and skipPrep.

Member Data Documentation

◆ layer

QSSGRenderLayer* SkyboxPass::layer = nullptr

Definition at line 143 of file qssgrenderpass_p.h.

◆ ps

Definition at line 145 of file qssgrenderpass_p.h.

Referenced by renderPass(), renderPrep(), and resetForFrame().

◆ rpDesc

QRhiRenderPassDescriptor* SkyboxPass::rpDesc = nullptr

Definition at line 144 of file qssgrenderpass_p.h.

Referenced by renderPass(), and renderPrep().

◆ skipPrep

bool SkyboxPass::skipPrep = false

Definition at line 147 of file qssgrenderpass_p.h.

Referenced by renderPrep(), and resetForFrame().

◆ skipTonemapping

bool SkyboxPass::skipTonemapping = false

Definition at line 146 of file qssgrenderpass_p.h.

Referenced by renderPass(), and renderPrep().


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