Skip to content

TestShader beta ​

Interface of @v12-engine/render/testing

ts
export interface TestShader

What a kind's shader was asked for: its WGSL, and the pass

Members ​

flags ​

ts
flags: string;

The material's flags, the variant of its kind

kind ​

ts
kind: MaterialKind;

The kind of material

pass ​

ts
pass: 'view' | 'cascade';

Which pass: the view's, or a cascade of the sun's shadows

source ​

ts
source: string;

The WGSL the kind gave