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>.
|
#include <qssgrendershadowmap_p.h>
Public Member Functions | |
QSSGRenderShadowMap (const QSSGRenderContextInterface &inContext) | |
~QSSGRenderShadowMap () | |
void | releaseCachedResources () |
void | addShadowMapEntry (qint32 lightIdx, qint32 width, qint32 height, ShadowMapModes mode, const QString &renderNodeObjName) |
QSSGShadowMapEntry * | shadowMapEntry (int lightIdx) |
qint32 | shadowMapEntryCount () |
Public Attributes | |
const QSSGRenderContextInterface & | m_context |
Definition at line 78 of file qssgrendershadowmap_p.h.
|
explicit |
Definition at line 12 of file qssgrendershadowmap.cpp.
QSSGRenderShadowMap::~QSSGRenderShadowMap | ( | ) |
Definition at line 17 of file qssgrendershadowmap.cpp.
References releaseCachedResources().
void QSSGRenderShadowMap::addShadowMapEntry | ( | qint32 | lightIdx, |
qint32 | width, | ||
qint32 | height, | ||
ShadowMapModes | mode, | ||
const QString & | renderNodeObjName ) |
Definition at line 71 of file qssgrendershadowmap.cpp.
References allocateRhiShadowRenderBuffer(), allocateRhiShadowTexture(), QRhiTextureRenderTarget::create(), CUBE, QRhiTexture::CubeMap, QRhiRenderBuffer::DepthStencil, QSSGBaseTypeHelpers::displayName(), i, QRhi::isTextureFormatSupported(), m_context, QRhi::MaxColorAttachments, QRhiTextureRenderTarget::newCompatibleRenderPassDescriptor(), QRhi::newTextureRenderTarget(), Q_ASSERT, QByteArrayLiteral, QSSGRenderTextureCubeFaces, qWarning, QRhiTexture::R16, QRhiTexture::R16F, QRhiTexture::RenderTarget, QRhi::resourceLimit(), QSSGRenderContextInterface::rhiContext(), QRhiTextureRenderTargetDescription::setColorAttachments(), QRhiTextureRenderTarget::setDescription(), QRhiColorAttachment::setLayer(), QRhiResource::setName(), QRhiRenderTarget::setRenderPassDescriptor(), QRhiColorAttachment::setTexture(), setupForRhiDepth(), setupForRhiDepthCube(), shadowMapEntry(), VSM, QSSGShadowMapEntry::withRhiDepthCubeMap(), and QSSGShadowMapEntry::withRhiDepthMap().
void QSSGRenderShadowMap::releaseCachedResources | ( | ) |
Definition at line 22 of file qssgrendershadowmap.cpp.
Referenced by ~QSSGRenderShadowMap().
QSSGShadowMapEntry * QSSGRenderShadowMap::shadowMapEntry | ( | int | lightIdx | ) |
Definition at line 251 of file qssgrendershadowmap.cpp.
Referenced by addShadowMapEntry(), and RenderHelpers::rhiRenderShadowMap().
|
inline |
Definition at line 98 of file qssgrendershadowmap_p.h.
const QSSGRenderContextInterface& QSSGRenderShadowMap::m_context |
Definition at line 84 of file qssgrendershadowmap_p.h.
Referenced by addShadowMapEntry().