XII Release 0.1.0
Loading...
Searching...
No Matches
xiiDDGIContext Class Reference

#include <DynamicGlobalIllumination.h>

Public Member Functions

xiiResult Initialize (const xiiDDGISettings &settings={})
 Initialize CPU scheduling. Invalid settings preserve the existing configuration.
void Shutdown ()
bool IsInitialized () const
void InvalidateHistory ()
 Discard accumulated lighting without reallocating storage or disturbing another view.
xiiResult BeginFrame (const xiiVec3 &vCameraPosition, xiiUInt64 uiFrameIndex)
void CommitProbeUpdate (xiiUInt32 uiPhysicalProbe, const xiiVec3 &vRelocationOffset, bool bValid, bool bInsideGeometry=false)
xiiArrayPtr< const xiiDDGIProbeState > GetProbes () const
xiiArrayPtr< const xiiDDGIProbeUpdate > GetScheduledUpdates () const
xiiDDGIFrameStats GetFrameStats () const
const xiiDDGISettings & GetConfiguration () const
xiiVec3I32 GetMinimumCell () const

Detailed Description

CPU-only camera-centred probe scheduling. No GPU resources, graph construction or scene ownership. One consumer owns each context. Updates and commits require serial access.

Member Function Documentation

◆ BeginFrame()

xiiResult xiiDDGIContext::BeginFrame ( const xiiVec3 & vCameraPosition,
xiiUInt64 uiFrameIndex )

Frames must be nonzero and strictly increasing; the entire clipmap must fit its cell coordinates. Non-finite or out-of-range positions and invalid frames fail without changing state.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Lighting/DynamicGlobalIllumination.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Lighting/Implementation/DynamicGlobalIllumination.cpp