Skip to content

ScreenStages beta ​

Interface of @v12-engine/render

ts
export interface ScreenStages

What the stages draw, written by the client and read every frame

Members ​

blur ​

ts
blur: number;

The picture blurred by so many pixels; 0 sharp

frame ​

ts
frame: ScreenFrame | undefined;

What the frame draws over the picture, the last stage: none where undefined

keep ​

ts
keep: boolean;

The picture goes through the stages' targets though nothing is drawn over it, so that a cut has the last frame

prepare ​

ts
prepare: boolean;

The targets are made ahead of the first ask: there for the first frame of a fade that begins at once

transition ​

ts
transition: ScreenTransition | undefined;

A cut's transition being played: none where undefined

videos ​

ts
videos: ScreenVideo[];

The videos, the lowest first: four at once at most