API

Interface RenderingContext

Minimal surface an engine sees for anything it renders. Scenes (and any other future renderable thing) register themselves as a RenderingContext and own their own update / record logic. Engine knows nothing of scene internals.

interface RenderingContext {
    clearColor: GPUColorDict;
}

Hierarchy (View Summary)

Index
clearColor: GPUColorDict

Clear color used when this context is the first active one in a frame.