![]() |
Qt 6.x
The Qt SDK
|
#include <QtQuick3DRuntimeRender/private/qssgrenderreflectionprobe_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderlayer_p.h>
#include <QtQuick3DRuntimeRender/private/qssglayerrenderdata_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendercontextcore_p.h>
#include <QtQuick3DUtils/private/qssgrenderbasetypes_p.h>
Go to the source code of this file.
Functions | |
static QRhiTexture * | allocateRhiReflectionTexture (QRhi *rhi, QRhiTexture::Format format, const QSize &size, QRhiTexture::Flags flags={}) |
static QRhiRenderBuffer * | allocateRhiReflectionRenderBuffer (QRhi *rhi, QRhiRenderBuffer::Type type, const QSize &size) |
float | radicalInverseVdC (uint bits) |
QVector2D | hammersley (uint i, uint N) |
QVector3D | importanceSampleGGX (QVector2D xi, float roughness) |
float | distributionGGX (float nDotH, float roughness) |
void | fillPrefilterValues (float roughness, float resolution, QVarLengthArray< QVector4D, prefilterSampleCount > &sampleDirections, float &invTotalWeight, uint &sampleCount) |
Variables | |
QT_BEGIN_NAMESPACE const int | prefilterSampleCount = 16 |
static const float | cube [] |
|
static |
Definition at line 43 of file qssgrenderreflectionmap.cpp.
References QRhi::newRenderBuffer(), and qWarning.
Referenced by QSSGRenderReflectionMap::addReflectionMapEntry().
|
static |
Definition at line 32 of file qssgrenderreflectionmap.cpp.
Referenced by QSSGRenderReflectionMap::addReflectionMapEntry().
float distributionGGX | ( | float | nDotH, |
float | roughness | ||
) |
Definition at line 410 of file qssgrenderreflectionmap.cpp.
Referenced by fillPrefilterValues().
void fillPrefilterValues | ( | float | roughness, |
float | resolution, | ||
QVarLengthArray< QVector4D, prefilterSampleCount > & | sampleDirections, | ||
float & | invTotalWeight, | ||
uint & | sampleCount | ||
) |
Definition at line 423 of file qssgrenderreflectionmap.cpp.
References QVarLengthArray< T, Prealloc >::append(), distributionGGX(), hammersley(), i, importanceSampleGGX(), log2(), M_PI, QVector3D::normalize(), prefilterSampleCount, and QVector3D::z().
Referenced by QSSGReflectionMapEntry::renderMips().
Definition at line 393 of file qssgrenderreflectionmap.cpp.
References i, and radicalInverseVdC().
Referenced by fillPrefilterValues().
Definition at line 398 of file qssgrenderreflectionmap.cpp.
References M_PI, QVector2D::x(), and QVector2D::y().
Referenced by fillPrefilterValues().
float radicalInverseVdC | ( | uint | bits | ) |
Definition at line 383 of file qssgrenderreflectionmap.cpp.
Referenced by hammersley().
|
static |
Definition at line 297 of file qssgrenderreflectionmap.cpp.
QT_BEGIN_NAMESPACE const int prefilterSampleCount = 16 |
Definition at line 12 of file qssgrenderreflectionmap.cpp.
Referenced by QSSGRenderReflectionMap::addReflectionMapEntry(), fillPrefilterValues(), and QSSGReflectionMapEntry::renderMips().