Function createFrameGraphContext
-
createFrameGraphContext(
surface: SurfaceContext,
options?: FrameGraphContextOptions,
): FrameGraphContextParameters
- surface: SurfaceContext
Optionaloptions: FrameGraphContextOptions
Returns FrameGraphContext
Optionaloptions: FrameGraphContextOptions
Create a scene-less frame-graph context bound to
surface, for fullscreen effects and post-process chains. Pass the engine directly for the single-canvas case (sinceEngineContext extends SurfaceContext); pass an auxiliary surface for multi-canvas.