PicturePassDef beta
Interface of @v12-engine/client
ts
export interface PicturePassDef extends PicturePassOptionsA pass of a game's own declared with its game (GameView.world.passes): drawn in every scene of the world, in a game and in the editor's view. Its WGSL (wgsl), or what makes it (make)
Members
make
ts
make?: PicturePassMaker;What makes the pass's WGSL, at once or later
wgsl
ts
wgsl?: string;The pass: WGSL that writes fn shade(uv: vec2f, colour: vec4f) -> vec4f, the picture's colour at uv in and what is written there out (what else it may read: @v12-engine/render's post/gamePasses.ts)