-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the user-friendly documentation page for WESL! 👋
This documentation is aimed at those who want to learn how to use WESL.
WESL is:
- A superset of WGSL, the WebGPU Shading Language, that allows developers to compose shader modules with features like imports, generics, and conditional compilation.
- A compiler that converts WESL files into valid WGSL code for use with WebGPU.
- A suite of convenience tools, including a Language Server and a Syntax Highlighter. (Coming soon)
WESL is designed for anyone writing shaders in WGSL. It is language- and framework-agnostic, with implementations available for Rust and TypeScript. It supports frameworks such as Bevy and Use.GPU.
Check out the Getting Started page for installation instructions and an introduction to the language extensions. (Coming soon)
For a more detailed explanation of the various extensions, visit the Reference page. (Coming soon)
WESL is still in the early stages of specification and development, so expect frequent updates. We welcome any feedback! The best way to reach us is by opening a GitHub Issue.
You can also join our Discord Server to get involved or stay up to date with WESL's development. We are always open to new contributors.