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

(9036bfe98f5d9c1f915347feaf7d9d1a10f04fd8)

#include <QtQuick3DRuntimeRender/private/qssgrenderlayer_p.h>
#include <QtQuick3DRuntimeRender/private/qssgrendershadowmap_p.h>
#include <QtQuick3DRuntimeRender/private/qssglayerrenderdata_p.h>
#include "qssgrendercontextcore.h"
Include dependency graph for qssgrendershadowmap.cpp:

Go to the source code of this file.

Classes

struct  AtlasHelpers::ShelfPacker
struct  AtlasHelpers::ShelfPacker::Shelf
struct  AtlasHelpers::ShelfPacker::ShelfPage
struct  AtlasHelpers::ShelfPacker::AtlasPlacement

Namespaces

namespace  AtlasHelpers

Functions

static QRhiTextureallocateRhiShadowTexture (QRhi *rhi, QRhiTexture::Format format, const QSize &size, quint32 numLayers, QRhiTexture::Flags flags)
static QRhiRenderBufferallocateRhiShadowRenderBuffer (QRhi *rhi, QRhiRenderBuffer::Type type, const QSize &size)
static bool checkCompatibility (QSSGShadowMapEntry *entry, const QVector< QSSGShadowMapEntry::AtlasEntry > &atlasEntries)
static QVector< QSSGShadowMapEntry::AtlasEntrycreateAtlasEntries (const QVarLengthArray< AtlasHelpers::ShelfPacker::AtlasPlacement, 4 > &atlasPlacements, int entrySize, int atlasPageSize)

Function Documentation

◆ allocateRhiShadowRenderBuffer()

QRhiRenderBuffer * allocateRhiShadowRenderBuffer ( QRhi * rhi,
QRhiRenderBuffer::Type type,
const QSize & size )
static

Definition at line 143 of file qssgrendershadowmap.cpp.

◆ allocateRhiShadowTexture()

QRhiTexture * allocateRhiShadowTexture ( QRhi * rhi,
QRhiTexture::Format format,
const QSize & size,
quint32 numLayers,
QRhiTexture::Flags flags )
static

Definition at line 133 of file qssgrendershadowmap.cpp.

◆ checkCompatibility()

bool checkCompatibility ( QSSGShadowMapEntry * entry,
const QVector< QSSGShadowMapEntry::AtlasEntry > & atlasEntries )
static

Definition at line 152 of file qssgrendershadowmap.cpp.

◆ createAtlasEntries()

QVector< QSSGShadowMapEntry::AtlasEntry > createAtlasEntries ( const QVarLengthArray< AtlasHelpers::ShelfPacker::AtlasPlacement, 4 > & atlasPlacements,
int entrySize,
int atlasPageSize )
static

Definition at line 169 of file qssgrendershadowmap.cpp.