#include <ShadowmapAtlas.h>
Public Attributes | |
uint32_t | m_nextTableOffset = 0 |
uint32_t | m_shadowmapIndex = std::numeric_limits<uint32_t>::max() |
ShadowmapIndexTree is used to determine shadowmap index from a coordinate in the shadowmap atlas resource. It enables a single dispatch to compute for all shadowmaps in the atlas, instead of multiple dispatches for each shadowmap. ShadowmapIndexTree is represented by an array of ShadowmapIndexNode. For the structure of ShadowmapIndexTree, refere the comment on CreateShadowmapIndexTableBuffer() below.