Class Graphics.GI
Global Illumination rendering configuration and API.
Inheritance
System.Object
Graphics.GI
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[DebugCommand]
[Unmanaged]
public static class GI : Object
Methods
Dump()
Dumps Global Illumination rendering info to the log (the next frame). Can be used to inspect DDGI, Global Surface Atlas and Global SDF memory and usage (for optimization). Prints info about the number of probes, cascades and draw state.
Declaration
[DebugCommand]
[Unmanaged]
public static void Dump()
GetConvergence(RenderBuffers)
Gets the normalized 0-1 progress of the Global Illumination lighting bounces convergence (0 = no GI, 1 = full GI convergence). Can be used to continue displaying loading screen after scene load to ensure indirect lighting has been evaluated. Non-zero value means GI has started to be calculated.
Declaration
[DebugCommand(Hide = true)]
[Unmanaged]
public static float GetConvergence(RenderBuffers buffers)
Parameters
|
RenderBuffers
buffers
|
Returns
|
System.Single
|