Skip to content

1681-engine / postfx / wgslSource

Function: wgslSource() ​

ts
function wgslSource(spec): string;

Defined in: src/postfx/fxShader.ts:79

The WGSL module of an effect (vertex and fragment).

Parameters ​

ParameterType
specFxShaderSpec

Returns ​

string

Released under the MIT License.