Skip to content

ClientPicture beta ​

Interface of @v12-engine/client

ts
export interface ClientPicture

The picture's finish as a game's code reads and sets it (client.picture): the quality's say, the look and the code over it, what is drawn now and beneath a cinematic's say, the lens of a cinematic, the game's passes, where a grade's file is

Members ​

addPass ​

ts
addPass: LitePicturePasses['add'];

Adds a pass of the game's own over the picture (WGSL), drawn once its shader is made

adjust ​

ts
adjust: LitePicture['adjust'];

Lays the game's code's say over the look, until it is taken off

antialias ​

ts
antialias: Antialias;

How the edges are smoothed

beneath ​

ts
readonly beneath: MapPictureLook;

The look beneath a cinematic's say: the map's, with the code's over it

cinematic ​

ts
cinematic: CinematicPicture | null;

A cinematic's say over the picture and its lens, or none

look ​

ts
look: MapPictureLook;

The map's look of the picture: its grade, its bloom, its mist

now ​

ts
readonly now: Readonly<MapPictureLook>;

The look as it is drawn now, every say laid over the map's

occlusion ​

ts
occlusion: OcclusionQuality;

How the shade of what is close together is drawn, as the quality says

passes ​

ts
readonly passes: LitePicturePasses['passes'];

The game's own passes over the picture, in the order they are drawn

pipeline ​

ts
readonly pipeline: boolean;

Whether the chain of passes after the view is made: always, on the renderer

quality ​

ts
quality: PictureQuality;

How much of the picture's finish is drawn, as the quality says

resolve ​

ts
resolve: (path: string) => string;

Where a grade's file is, by its path (grades/<name>.3dl): its own address when left as it is

samples ​

ts
readonly samples: number;

How many samples a pixel is drawn with: one, the temporal pass smoothing the edges