![]() |
Qt 6.x
The Qt SDK
|
#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 | |
| QRhiTexture * | m_rhiDepthMap = nullptr |
| QRhiTexture * | m_rhiDepthCopy = nullptr |
| QRhiTexture * | m_rhiDepthCube = nullptr |
| QRhiTexture * | m_rhiCubeCopy = nullptr |
| QRhiRenderBuffer * | m_rhiDepthStencil = nullptr |
| QVarLengthArray< QRhiTextureRenderTarget *, 6 > | m_rhiRenderTargets |
| QRhiRenderPassDescriptor * | m_rhiRenderPassDesc = nullptr |
| QRhiTextureRenderTarget * | m_rhiBlurRenderTarget0 = nullptr |
| QRhiTextureRenderTarget * | m_rhiBlurRenderTarget1 = nullptr |
| QRhiRenderPassDescriptor * | m_rhiBlurRenderPassDesc = nullptr |
| QMatrix4x4 | m_lightVP |
| light view projection matrix | |
| QMatrix4x4 | m_lightCubeView [6] |
| light cubemap view matrices | |
| QMatrix4x4 | m_lightView |
| light view transform | |
Definition at line 40 of file qssgrendershadowmap_p.h.
| QSSGShadowMapEntry::QSSGShadowMapEntry | ( | ) |
Definition at line 264 of file qssgrendershadowmap.cpp.
| 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().
Referenced by QSSGRenderShadowMap::addShadowMapEntry().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 285 of file qssgrendershadowmap.cpp.
References e.
Referenced by QSSGRenderShadowMap::addShadowMapEntry().
Here is the caller graph for this function:
|
static |
Definition at line 270 of file qssgrendershadowmap.cpp.
References e.
Referenced by QSSGRenderShadowMap::addShadowMapEntry().
Here is the caller graph for this function:| QMatrix4x4 QSSGShadowMapEntry::m_lightCubeView[6] |
light cubemap view matrices
Definition at line 74 of file qssgrendershadowmap_p.h.
Referenced by RenderHelpers::rhiRenderShadowMap().
| quint32 QSSGShadowMapEntry::m_lightIndex |
the light index it belongs to
Definition at line 58 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), and QSSGRenderShadowMap::shadowMapEntry().
| QMatrix4x4 QSSGShadowMapEntry::m_lightView |
light view transform
Definition at line 75 of file qssgrendershadowmap_p.h.
Referenced by RenderHelpers::rhiRenderShadowMap(), and QSSGMaterialShaderGenerator::setRhiMaterialProperties().
| QMatrix4x4 QSSGShadowMapEntry::m_lightVP |
light view projection matrix
Definition at line 73 of file qssgrendershadowmap_p.h.
Referenced by rhiPrepareResourcesForShadowMap(), RenderHelpers::rhiRenderShadowMap(), and QSSGMaterialShaderGenerator::setRhiMaterialProperties().
| QRhiRenderPassDescriptor* QSSGShadowMapEntry::m_rhiBlurRenderPassDesc = nullptr |
Definition at line 71 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), and destroyRhiResources().
| QRhiTextureRenderTarget* QSSGShadowMapEntry::m_rhiBlurRenderTarget0 = nullptr |
Definition at line 69 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), and destroyRhiResources().
| QRhiTextureRenderTarget* QSSGShadowMapEntry::m_rhiBlurRenderTarget1 = nullptr |
Definition at line 70 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), and destroyRhiResources().
| QRhiTexture* QSSGShadowMapEntry::m_rhiCubeCopy = nullptr |
Definition at line 65 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), destroyRhiResources(), and RenderHelpers::rhiRenderShadowMap().
| QRhiTexture* QSSGShadowMapEntry::m_rhiDepthCopy = nullptr |
Definition at line 63 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), destroyRhiResources(), and RenderHelpers::rhiRenderShadowMap().
| QRhiTexture* QSSGShadowMapEntry::m_rhiDepthCube = nullptr |
Definition at line 64 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), destroyRhiResources(), RenderHelpers::rhiRenderShadowMap(), and QSSGMaterialShaderGenerator::setRhiMaterialProperties().
| QRhiTexture* QSSGShadowMapEntry::m_rhiDepthMap = nullptr |
Definition at line 62 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), destroyRhiResources(), RenderHelpers::rhiRenderShadowMap(), and QSSGMaterialShaderGenerator::setRhiMaterialProperties().
| QRhiRenderBuffer* QSSGShadowMapEntry::m_rhiDepthStencil = nullptr |
Definition at line 66 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), destroyRhiResources(), and RenderHelpers::rhiRenderShadowMap().
| QRhiRenderPassDescriptor* QSSGShadowMapEntry::m_rhiRenderPassDesc = nullptr |
Definition at line 68 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), destroyRhiResources(), and rhiPrepareResourcesForShadowMap().
| QVarLengthArray<QRhiTextureRenderTarget *, 6> QSSGShadowMapEntry::m_rhiRenderTargets |
Definition at line 67 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry(), destroyRhiResources(), and RenderHelpers::rhiRenderShadowMap().
| ShadowMapModes QSSGShadowMapEntry::m_shadowMapMode |
shadow map method
Definition at line 59 of file qssgrendershadowmap_p.h.
Referenced by QSSGRenderShadowMap::addShadowMapEntry().