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>.
|
Functions | |
void | addDebugFrustum (const QSSGBoxPoints &frustumPoints, const QColor &color, QSSGDebugDrawSystem *debugDrawSystem) |
void | addDebugBox (const QSSGBoxPoints &boxUnsorted, const QColor &color, QSSGDebugDrawSystem *debugDrawSystem) |
void | addDirectionalLightDebugBox (const QSSGBoxPoints &box, QSSGDebugDrawSystem *debugDrawSystem) |
QList< QVector3D > | intersectBoxByFrustum (const QSSGBoxPoints &frustumPoints, const QSSGBoxPoints &box, QSSGDebugDrawSystem *debugDrawSystem, const QColor &color) |
QList< QVector3D > | intersectBoxByBox (const QSSGBounds3 &boxBounds, const QSSGBoxPoints &box) |
void ShadowmapHelpers::addDebugBox | ( | const QSSGBoxPoints & | boxUnsorted, |
const QColor & | color, | ||
QSSGDebugDrawSystem * | debugDrawSystem ) |
Definition at line 18 of file qssgshadowmaphelpers.cpp.
References BOX_LINE_INDICES, QSSGDebugDrawSystem::drawLine(), line, and QSSGDebugDrawSystem::setEnabled().
Referenced by addDebugFrustum(), and RenderHelpers::rhiRenderShadowMap().
void ShadowmapHelpers::addDebugFrustum | ( | const QSSGBoxPoints & | frustumPoints, |
const QColor & | color, | ||
QSSGDebugDrawSystem * | debugDrawSystem ) |
Definition at line 29 of file qssgshadowmaphelpers.cpp.
References addDebugBox().
Referenced by computeShadowCameraFromFrustum().
void ShadowmapHelpers::addDirectionalLightDebugBox | ( | const QSSGBoxPoints & | box, |
QSSGDebugDrawSystem * | debugDrawSystem ) |
Definition at line 34 of file qssgshadowmaphelpers.cpp.
References QColorConstants::Blue, dir, QSSGDebugDrawSystem::drawLine(), QColorConstants::Green, qSqrt(), QColorConstants::Red, QSSGDebugDrawSystem::setEnabled(), and QColorConstants::Yellow.
Referenced by RenderHelpers::rhiRenderShadowMap().
QList< QVector3D > ShadowmapHelpers::intersectBoxByBox | ( | const QSSGBounds3 & | boxBounds, |
const QSSGBoxPoints & | box ) |
Definition at line 357 of file qssgshadowmaphelpers.cpp.
References QColorConstants::Black, BOTTOM, QVector3D::crossProduct(), i, and sliceBoxByPlanes().
Referenced by computeShadowCameraFromFrustum().
QList< QVector3D > ShadowmapHelpers::intersectBoxByFrustum | ( | const QSSGBoxPoints & | frustumPoints, |
const QSSGBoxPoints & | box, | ||
QSSGDebugDrawSystem * | debugDrawSystem, | ||
const QColor & | color ) |