API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeLightingHost
What a lighting system needs of the application whose frame it lights. A renderer that composes the frame reads the drawn frame, installs its passes in the frame slot, lays its fields out over the camera's view and follows the surface when it resizes. Those six members are the whole of it, so an Application satisfies this structurally and a test host can satisfy it without standing in for an application. The system is handed one; it never owns or destroys it.
import { LightingHost } from '@codexo/exojs-lighting'What a lighting system needs of the application whose frame it lights.
A renderer that composes the frame reads the drawn frame, installs its passes in the frame slot, lays its fields out over the camera's view and follows the surface when it resizes. Those six members are the whole of it, so an Application satisfies this structurally and a test host can satisfy it without standing in for an application.
The system is handed one; it never owns or destroys it.
Pick<ApplicationTop-level engine instance. Owns the canvas, render backend, scene-stack controller, the core systems (input, interaction, audio, coroutines, tweens, animations…, "framePasses" | "frameTexture" | "height" | "onResize" | "rendering" | "width">