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

#include <qssgrendershadowmap_p.h>

Collaboration diagram for QSSGShadowMapEntry:

Classes

struct  AtlasEntry

Public Member Functions

 QSSGShadowMapEntry ()
void destroyRhiResources ()

Static Public Member Functions

static QSSGShadowMapEntry withAtlas (quint32 lightIdx)

Public Attributes

quint32 m_lightIndex
 the light index it belongs to
quint32 m_depthArrayIndex = 0
 shadow map texture array index
QRhiTexturem_rhiDepthCube = nullptr
QRhiRenderBufferm_rhiDepthStencilCube = nullptr
QRhiRenderPassDescriptorm_rhiRenderPassDescCube = nullptr
std::array< QRhiTextureRenderTarget *, 6 > m_rhiRenderTargetCube = {}
QRhiShaderResourceBindingsm_cubeToAtlasFrontSrb = nullptr
QRhiShaderResourceBindingsm_cubeToAtlasBackSrb = nullptr
std::array< QRhiTextureRenderTarget *, 4 > m_rhiRenderTargets = {}
std::array< QRhiRenderPassDescriptor *, 4 > m_rhiRenderPassDesc = {}
QMatrix4x4 m_lightViewProjection [4]
 light view projection matrix
QMatrix4x4 m_lightCubeView [6]
 light cubemap view matrices
QMatrix4x4 m_lightView
 light view transform
quint32 m_csmNumSplits = 0
float m_csmSplits [4] = {}
float m_csmActive [4] = {}
float m_shadowMapFar = 0.f
QMatrix4x4 m_fixedScaleBiasMatrix [4]
QVector4D m_dimensionsInverted [4]
 (x, y, z, 0) 4 vec4
struct QSSGShadowMapEntry::AtlasEntry m_atlasInfo [4]

Detailed Description

Definition at line 35 of file qssgrendershadowmap_p.h.

Constructor & Destructor Documentation

◆ QSSGShadowMapEntry()

QSSGShadowMapEntry::QSSGShadowMapEntry ( )

Definition at line 507 of file qssgrendershadowmap.cpp.

Member Function Documentation

◆ destroyRhiResources()

void QSSGShadowMapEntry::destroyRhiResources ( )

Definition at line 519 of file qssgrendershadowmap.cpp.

◆ withAtlas()

QSSGShadowMapEntry QSSGShadowMapEntry::withAtlas ( quint32 lightIdx)
static

Definition at line 512 of file qssgrendershadowmap.cpp.

Member Data Documentation

◆ m_atlasInfo

struct QSSGShadowMapEntry::AtlasEntry QSSGShadowMapEntry::m_atlasInfo[4]

◆ m_csmActive

float QSSGShadowMapEntry::m_csmActive[4] = {}

Definition at line 63 of file qssgrendershadowmap_p.h.

◆ m_csmNumSplits

quint32 QSSGShadowMapEntry::m_csmNumSplits = 0

Definition at line 61 of file qssgrendershadowmap_p.h.

◆ m_csmSplits

float QSSGShadowMapEntry::m_csmSplits[4] = {}

Definition at line 62 of file qssgrendershadowmap_p.h.

◆ m_cubeToAtlasBackSrb

QRhiShaderResourceBindings* QSSGShadowMapEntry::m_cubeToAtlasBackSrb = nullptr

Definition at line 52 of file qssgrendershadowmap_p.h.

◆ m_cubeToAtlasFrontSrb

QRhiShaderResourceBindings* QSSGShadowMapEntry::m_cubeToAtlasFrontSrb = nullptr

Definition at line 51 of file qssgrendershadowmap_p.h.

◆ m_depthArrayIndex

quint32 QSSGShadowMapEntry::m_depthArrayIndex = 0

shadow map texture array index

Definition at line 44 of file qssgrendershadowmap_p.h.

◆ m_dimensionsInverted

QVector4D QSSGShadowMapEntry::m_dimensionsInverted[4]

(x, y, z, 0) 4 vec4

Definition at line 66 of file qssgrendershadowmap_p.h.

◆ m_fixedScaleBiasMatrix

QMatrix4x4 QSSGShadowMapEntry::m_fixedScaleBiasMatrix[4]

Definition at line 65 of file qssgrendershadowmap_p.h.

◆ m_lightCubeView

QMatrix4x4 QSSGShadowMapEntry::m_lightCubeView[6]

light cubemap view matrices

Definition at line 59 of file qssgrendershadowmap_p.h.

◆ m_lightIndex

quint32 QSSGShadowMapEntry::m_lightIndex

the light index it belongs to

Definition at line 43 of file qssgrendershadowmap_p.h.

◆ m_lightView

QMatrix4x4 QSSGShadowMapEntry::m_lightView

light view transform

Definition at line 60 of file qssgrendershadowmap_p.h.

◆ m_lightViewProjection

QMatrix4x4 QSSGShadowMapEntry::m_lightViewProjection[4]

light view projection matrix

Definition at line 58 of file qssgrendershadowmap_p.h.

◆ m_rhiDepthCube

QRhiTexture* QSSGShadowMapEntry::m_rhiDepthCube = nullptr

Definition at line 47 of file qssgrendershadowmap_p.h.

◆ m_rhiDepthStencilCube

QRhiRenderBuffer* QSSGShadowMapEntry::m_rhiDepthStencilCube = nullptr

Definition at line 48 of file qssgrendershadowmap_p.h.

◆ m_rhiRenderPassDesc

std::array<QRhiRenderPassDescriptor *, 4> QSSGShadowMapEntry::m_rhiRenderPassDesc = {}

Definition at line 56 of file qssgrendershadowmap_p.h.

◆ m_rhiRenderPassDescCube

QRhiRenderPassDescriptor* QSSGShadowMapEntry::m_rhiRenderPassDescCube = nullptr

Definition at line 49 of file qssgrendershadowmap_p.h.

◆ m_rhiRenderTargetCube

std::array<QRhiTextureRenderTarget *, 6> QSSGShadowMapEntry::m_rhiRenderTargetCube = {}

Definition at line 50 of file qssgrendershadowmap_p.h.

◆ m_rhiRenderTargets

std::array<QRhiTextureRenderTarget *, 4> QSSGShadowMapEntry::m_rhiRenderTargets = {}

Definition at line 55 of file qssgrendershadowmap_p.h.

◆ m_shadowMapFar

float QSSGShadowMapEntry::m_shadowMapFar = 0.f

Definition at line 64 of file qssgrendershadowmap_p.h.


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