XII Release 0.1.0
Loading...
Searching...
No Matches
xiiLocalShadowAtlasData Struct Reference

#include <LocalShadow.h>

Public Member Functions

 XII_DECLARE_POD_TYPE ()
xiiUInt32 GetReflectedFaceCount () const
xiiMat4 GetReflectedViewProjection (xiiUInt32 uiIndex) const
xiiVec4 GetReflectedAtlasScaleBias (xiiUInt32 uiIndex) const

Public Attributes

xiiMat4 m_ViewProjection [6]
xiiVec4 m_AtlasScaleBias [6]
 xy = scale, zw = bias for each face.
xiiVec4 m_LightPositionAndInvRange
xiiVec4U32 m_Metadata
 x = face count, y = tile size, z = valid, w = light type.

Detailed Description

CPU/GPU ABI for one local-light shadow allocation.

Point-like lights use all six faces in +X, -X, +Y, -Y, +Z, -Z order. Projected lights use face zero. Invalid entries have Metadata.z == 0.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Lighting/LocalShadow.h