wesl
    Preparing search index...

    wesl

    WESL

    NPM Version Static Badge

    npm install wesl
    
    Other installation methods
    deno install npm:wesl
    
    Tip

    If you are using a bundler, try the wesl plugin.

    import { link } from "wesl";

    const shaderCode = await link({
    weslSrc: {
    "main.wesl": mainWeslString,
    "fullscreen_quad.wesl": fullscreenQuadWeslString,
    "mandelbrot.wesl": mandelbrotWeslString,
    },
    });

    const shader = shaderCode.createShaderModule(device, {});

    Check out the vanilla example