@ghostty-webgpu/shaders
v0.0.3
Published
Optional compiled shader effects for ghostty-webgpu terminals
Readme
ghostty-webgpu-shaders
Optional compiled shader effects for a ghostty-webgpu terminal.
npm install ghostty-webgpu ghostty-webgpu-shadersimport { createShaderAddon } from '@ghostty-webgpu/shaders'
import compiled from './effect.js'
const effect = terminal.use(createShaderAddon(compiled))
await effect.api.ready
// Later:
effect.dispose()Supply compiled WGSL, GLSL ES 3.00, or both. The package has no compiler dependency.
