Showing 1-20 of 136 packages
WGSL Parser and Reflection library
Import, inline (and minify) GLSL/WGSL shader files
Transforms JavaScript into its 'tinyest' form, to be used in generating equivalent (or close to) WGSL code.
WGSL language support for CodeMirror
A simple, template literals-based preprocessor for WGSL shaders
A powerful template system for generating WGSL (WebGPU Shading Language) code with support for parameters, conditionals, and multiple output formats including C++ code generation.
Web component for rendering WESL/WGSL fragment shaders.
Test WGSL and WESL shaders with the CLI or vitest.
WGSL shader compiler and analysis tool
Build plugins for TypeGPU, enabling seamless JavaScript -> WGSL transpilation and improved debugging.
A multi-pass renderer based on WebGPU and WGSL.
A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.
**wesl-link** is a command line tool for linking multiple WGSL/WESL shader files into a single WGSL file.
```sh npm install --save @use-gpu/wgsl ```
A command tool to bundle WGSL/WESL files into an npm package.
**wgsl-linker** enriches the WGSL shader language to support linking code modules via `import`. Linking can be done entirely at runtime.
Tools and IntelliSense for GLSL and WGSL.
Type-safe functional shader DSL for WebGPU - write WGSL with TypeScript
```sh npm install --save @use-gpu/wgsl-loader ```
对webgpu的封装,处理了繁琐的前置工作,只关注wgsl本身逻辑