tssl

TypeScript Shading Language

Usage no npm install needed!

<script type="module">
  import tssl from 'https://cdn.skypack.dev/tssl';
</script>

README

TypeScript Shading Language

- Currently in the very early stages of development, nothing to see here basically :) Subscribe!

Goals

  • Write shaders in statically typed TypeScript for type-safety and IDE support
  • Compose "ubershaders" from small trait-like modules, enforce type compatibility across them
  • Match between the buffers layout and the shader code, synthesize the data binding code
  • Support both WebGPU's WGSL and GLSL as code generation targets

Also Check