GlslPluginOptions interface
Options of the `glsl` Vite plugin.
import type { GlslPluginOptions } from '@dioramajs/glsl/vite'interface GlslPluginOptionsMembers
| Name | Type | Description |
|---|---|---|
readonly check? | 'all' | 'imported' | Dev: 'all' checks every matching file, not just imported ones. Default 'all'. |
readonly convert? | Omit<ConvertOptions, 'name' | 'filename' | 'include'> | Convert options for every file. Pragmas in the file override them. |
readonly dts? | string | boolean | Write |
readonly include? | RegExp | Shader files to handle. Default /\.(frag|vert|glsl|fs|vs)$/. |
readonly report? | 'none' | 'bindings' | Dev: log each file's uniform bindings on first load. Default 'bindings'. |
readonly strict? | boolean | Fail |
Defined in packages/glsl/src/vite.ts.