glsl function
Vite plugin that turns GLSL files into TSL shaders and effects on import.
import { glsl } from '@dioramajs/glsl/vite'function glsl(options?: GlslPluginOptions): PluginParameters
| Name | Type | Description |
|---|---|---|
options? | GlslPluginOptions | Default |
Defined in packages/glsl/src/vite.ts.