@shader3d/runtime
v0.4.25
Published
WebGPU and Three.js runtime for Shader3D
Maintainers
Readme
@shader3d/runtime
WebGPU and Three.js runtime for Shader3D.
Provides:
- WebGPU context initialization
- Render pipeline management
- Three.js shader integration
- HMR (Hot Module Reload) support
- Built-in uniforms (time, resolution, mouse)
Install
npm install @shader3d/runtimeUsage
import { initWebGPU } from '@shader3d/runtime'
const runtime = await initWebGPU(canvas)
const pipeline = await runtime.createRenderPipeline('main', shaderCode)
runtime.render()License
See LICENSE in the root directory.
