PostPass beta
Interface of @v12-engine/render
export interface PostPassA game's own pass, once added (Renderer.post.addPass)
Members
drawn
readonly drawn: boolean;Whether the last frame drew it
enabled
enabled: boolean;Off leaves it out of the chain, kept made, so that it is on again at once
error
readonly error: string | undefined;What the card said is wrong with its WGSL: never drawn
name
readonly name: string;What it is called: in the frame's passes (pass <name>)
order
readonly order: number;Its order among the passes at its place: the lower first, then as added
place
readonly place: PostPlace;Where among the picture's passes it is drawn
ready
readonly ready: boolean;Its WGSL made into a shader with nothing wrong: drawn from then, while enabled
remove
remove(): void;Takes it out of the chain for good, its shader and its uniforms let go of
removed
readonly removed: boolean;Whether it was taken out for good (remove)
values
readonly values: Float32Array;What its WGSL reads as game.values (four vec4f), as written here: read every frame
wgsl
readonly wgsl: string;Its WGSL as given: fn shade(uv: vec2f, colour: vec4f) -> vec4f and what it needs