API

Function renderFrame

  • Render one frame through one shared command encoder and queue submission.

    Omitting surfaces renders every registered engine surface in registration order. Pass a non-empty readonly tuple to render an explicit subset instead. Engine ownership is checked because mixing devices would otherwise produce cryptic WebGPU validation failures; callers must keep the tuple registered through the call and unique.

    Parameters

    Returns void