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

Device-owned immutable split-sum BRDF lookup and readiness. Allocated only on demand. More...

#include <LightingManager.h>

Static Public Member Functions

static bool IsSubsystemInitialized ()
static bool IsInitialized ()
static xiiResult EnsureBRDFLUTResources ()
static xiiSharedPtr< xiiGALTexture > GetBRDFLUT ()
static xiiSharedPtr< xiiGALFence > GetBRDFLUTReadyFence ()
static bool IsBRDFLUTGenerationPending ()
static void MarkBRDFLUTGenerated ()

Detailed Description

Device-owned immutable split-sum BRDF lookup and readiness. Allocated only on demand.

Member Function Documentation

◆ EnsureBRDFLUTResources()

xiiResult xiiLightingManager::EnsureBRDFLUTResources ( )
staticnodiscard

Ensures the process-wide split-sum BRDF lookup texture exists. The texture is owned by this subsystem so views cannot outlive the allocator or GAL device that created it.

◆ GetBRDFLUTReadyFence()

xiiSharedPtr< xiiGALFence > xiiLightingManager::GetBRDFLUTReadyFence ( )
staticnodiscard

Completion of the immutable lookup's generation (value 1). Consumers must declare a device-side wait before using a previously published lookup.


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