0.4.2 • Published 2 days ago

wgsl-link v0.4.2

Weekly downloads
-
License
-
Repository
github
Last release
2 days ago

wgsl-link

wgsl-link is a tool for preprocessing and linking multiple WGSL shader modules into a single WGSL module from the command line.

See wgsl-linker for more details of wgsl syntax extensions like #import and #export.

Usage

wgsl-link <rootWgsl> [libraryWgsl...]

Merges the rootWgsl file with any imports found in the libraryWgsl files and outputs a bundled wgsl to stdout.

Options

--define name=value defines variables for conditional compilation and template preocessing. Mutliple name=value pairs can be specified.

--base-dir <path element> sets the base directory for resolving relative paths.

0.4.2

2 days ago

0.4.1

6 days ago

0.4.0

7 days ago

0.3.14

1 month ago

0.3.13

1 month ago

0.3.12

1 month ago