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
qssgrenderskymaterialmanager.cpp File Reference

(35479bd217476bd6b38f86d82b90e8655255f67d)

#include <QtQuick3DRuntimeRender/private/qssgrenderskymaterialmanager_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrenderskymaterial_p.h>
#include <QtQuick3DRuntimeRender/private/qssglayerrenderdata_p.h>
#include <QtQuick3DUtils/private/qssgassert_p.h>
#include "qssgrendercontextcore.h"
#include "qssgrendershadercache_p.h"
#include "qssgrhicontext_p.h"
#include <QtCore/qmath.h>
#include <cmath>
Include dependency graph for qssgrenderskymaterialmanager.cpp:

Go to the source code of this file.

Classes

struct  QT_BEGIN_NAMESPACE::PrefilterPipelineConfig
struct  QSSGRenderSkyMaterialManager::FrameState

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

static int QT_BEGIN_NAMESPACE::nearestPowerOfTwo (int v)
static QVarLengthArray< QMatrix4x4, 6 > QT_BEGIN_NAMESPACE::skyIblEnvironmentMapViews (QRhi *rhi)
static bool QT_BEGIN_NAMESPACE::skyIblCreateFaceTargets (QRhi *rhi, QRhiTexture *texture, const QByteArray &namePrefix, QSSGSkyIblFaceTargets *outTargets, bool preserveColorContents=false)
static bool QT_BEGIN_NAMESPACE::skyIblCreatePrefilterTargets (QRhi *rhi, QRhiTexture *texture, const QSize &environmentMapSize, const QByteArray &namePrefix, QSSGSkyIblPrefilterTargets *outTargets, bool preserveColorContents=false)
static void QT_BEGIN_NAMESPACE::skyIblInitializeUnrenderedMips (QRhi *rhi, QRhiCommandBuffer *cb, QSSGRhiContext *context, QRhiTexture *texture, int firstMip, int mipCountExclusive, const QByteArray &debugObjectName)
static bool QT_BEGIN_NAMESPACE::ensureDynamicUBuf (QRhi *rhi, QRhiBuffer *&dst, int size, const char *errorMessage)
static bool QT_BEGIN_NAMESPACE::ensureSrb (QRhi *rhi, QRhiShaderResourceBindings *&dst, std::initializer_list< QRhiShaderResourceBinding > bindings, const char *errorMessage)
static QRhiGraphicsPipelineQT_BEGIN_NAMESPACE::createPrefilterPipeline (QRhi *rhi, const QRhiVertexInputLayout &inputLayout, const PrefilterPipelineConfig &cfg, const char *errorMessage)
static void QT_BEGIN_NAMESPACE::drawCubeFace (QRhiCommandBuffer *cb, QSSGRhiContext *ctx, QRhiTextureRenderTarget *rt, QSize viewport, QRhiGraphicsPipeline *pipeline, QRhiShaderResourceBindings *srb, const QRhiCommandBuffer::VertexInput &vbufBinding, const QVector< QPair< int, quint32 > > &dynamicOffsets, const QByteArray &profilerLabel, const QByteArray &passDebugLabel, const QColor &clearColor=QColor(0, 0, 0, 1))

Variables

static constexpr QRhiTexture::Format QT_BEGIN_NAMESPACE::cTextureFormat = QRhiTexture::RGBA16F
static const float QT_BEGIN_NAMESPACE::skyIblCubeVerts []