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
QSSGShadowMapEntry Struct Reference

#include <qssgrendershadowmap_p.h>

+ Collaboration diagram for QSSGShadowMapEntry:

Public Member Functions

 QSSGShadowMapEntry ()
 
void destroyRhiResources ()
 

Static Public Member Functions

static QSSGShadowMapEntry withRhiDepthMap (quint32 lightIdx, ShadowMapModes mode, QRhiTexture *depthMap, QRhiTexture *depthCopy, QRhiRenderBuffer *depthStencil)
 
static QSSGShadowMapEntry withRhiDepthCubeMap (quint32 lightIdx, ShadowMapModes mode, QRhiTexture *depthCube, QRhiTexture *cubeCopy, QRhiRenderBuffer *depthStencil)
 

Public Attributes

quint32 m_lightIndex
 the light index it belongs to
 
ShadowMapModes m_shadowMapMode
 shadow map method
 
QRhiTexturem_rhiDepthMap = nullptr
 
QRhiTexturem_rhiDepthCopy = nullptr
 
QRhiTexturem_rhiDepthCube = nullptr
 
QRhiTexturem_rhiCubeCopy = nullptr
 
QRhiRenderBufferm_rhiDepthStencil = nullptr
 
QVarLengthArray< QRhiTextureRenderTarget *, 6 > m_rhiRenderTargets
 
QRhiRenderPassDescriptorm_rhiRenderPassDesc = nullptr
 
QRhiTextureRenderTargetm_rhiBlurRenderTarget0 = nullptr
 
QRhiTextureRenderTargetm_rhiBlurRenderTarget1 = nullptr
 
QRhiRenderPassDescriptorm_rhiBlurRenderPassDesc = nullptr
 
QMatrix4x4 m_lightVP
 light view projection matrix
 
QMatrix4x4 m_lightCubeView [6]
 light cubemap view matrices
 
QMatrix4x4 m_lightView
 light view transform
 

Detailed Description

Definition at line 40 of file qssgrendershadowmap_p.h.

Constructor & Destructor Documentation

◆ QSSGShadowMapEntry()

QSSGShadowMapEntry::QSSGShadowMapEntry ( )

Definition at line 264 of file qssgrendershadowmap.cpp.

Member Function Documentation

◆ destroyRhiResources()

void QSSGShadowMapEntry::destroyRhiResources ( )

Definition at line 300 of file qssgrendershadowmap.cpp.

References QVarLengthArray< T, Prealloc >::clear(), m_rhiBlurRenderPassDesc, m_rhiBlurRenderTarget0, m_rhiBlurRenderTarget1, m_rhiCubeCopy, m_rhiDepthCopy, m_rhiDepthCube, m_rhiDepthMap, m_rhiDepthStencil, m_rhiRenderPassDesc, m_rhiRenderTargets, and qDeleteAll().

+ Here is the call graph for this function:

◆ withRhiDepthCubeMap()

QSSGShadowMapEntry QSSGShadowMapEntry::withRhiDepthCubeMap ( quint32 lightIdx,
ShadowMapModes mode,
QRhiTexture * depthCube,
QRhiTexture * cubeCopy,
QRhiRenderBuffer * depthStencil )
static

Definition at line 285 of file qssgrendershadowmap.cpp.

References m_lightIndex, m_rhiCubeCopy, m_rhiDepthCube, m_rhiDepthStencil, and m_shadowMapMode.

Referenced by QSSGRenderShadowMap::addShadowMapEntry().

+ Here is the caller graph for this function:

◆ withRhiDepthMap()

QSSGShadowMapEntry QSSGShadowMapEntry::withRhiDepthMap ( quint32 lightIdx,
ShadowMapModes mode,
QRhiTexture * depthMap,
QRhiTexture * depthCopy,
QRhiRenderBuffer * depthStencil )
static

Definition at line 270 of file qssgrendershadowmap.cpp.

References m_lightIndex, m_rhiDepthCopy, m_rhiDepthMap, m_rhiDepthStencil, and m_shadowMapMode.

Referenced by QSSGRenderShadowMap::addShadowMapEntry().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_lightCubeView

QMatrix4x4 QSSGShadowMapEntry::m_lightCubeView[6]

light cubemap view matrices

Definition at line 74 of file qssgrendershadowmap_p.h.

◆ m_lightIndex

quint32 QSSGShadowMapEntry::m_lightIndex

the light index it belongs to

Definition at line 58 of file qssgrendershadowmap_p.h.

Referenced by withRhiDepthCubeMap(), and withRhiDepthMap().

◆ m_lightView

QMatrix4x4 QSSGShadowMapEntry::m_lightView

light view transform

Definition at line 75 of file qssgrendershadowmap_p.h.

◆ m_lightVP

QMatrix4x4 QSSGShadowMapEntry::m_lightVP

light view projection matrix

Definition at line 73 of file qssgrendershadowmap_p.h.

◆ m_rhiBlurRenderPassDesc

QRhiRenderPassDescriptor* QSSGShadowMapEntry::m_rhiBlurRenderPassDesc = nullptr

Definition at line 71 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources().

◆ m_rhiBlurRenderTarget0

QRhiTextureRenderTarget* QSSGShadowMapEntry::m_rhiBlurRenderTarget0 = nullptr

Definition at line 69 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources().

◆ m_rhiBlurRenderTarget1

QRhiTextureRenderTarget* QSSGShadowMapEntry::m_rhiBlurRenderTarget1 = nullptr

Definition at line 70 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources().

◆ m_rhiCubeCopy

QRhiTexture* QSSGShadowMapEntry::m_rhiCubeCopy = nullptr

Definition at line 65 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources(), and withRhiDepthCubeMap().

◆ m_rhiDepthCopy

QRhiTexture* QSSGShadowMapEntry::m_rhiDepthCopy = nullptr

Definition at line 63 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources(), and withRhiDepthMap().

◆ m_rhiDepthCube

QRhiTexture* QSSGShadowMapEntry::m_rhiDepthCube = nullptr

Definition at line 64 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources(), and withRhiDepthCubeMap().

◆ m_rhiDepthMap

QRhiTexture* QSSGShadowMapEntry::m_rhiDepthMap = nullptr

Definition at line 62 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources(), and withRhiDepthMap().

◆ m_rhiDepthStencil

QRhiRenderBuffer* QSSGShadowMapEntry::m_rhiDepthStencil = nullptr

◆ m_rhiRenderPassDesc

QRhiRenderPassDescriptor* QSSGShadowMapEntry::m_rhiRenderPassDesc = nullptr

Definition at line 68 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources().

◆ m_rhiRenderTargets

QVarLengthArray<QRhiTextureRenderTarget *, 6> QSSGShadowMapEntry::m_rhiRenderTargets

Definition at line 67 of file qssgrendershadowmap_p.h.

Referenced by destroyRhiResources().

◆ m_shadowMapMode

ShadowMapModes QSSGShadowMapEntry::m_shadowMapMode

shadow map method

Definition at line 59 of file qssgrendershadowmap_p.h.

Referenced by withRhiDepthCubeMap(), and withRhiDepthMap().


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