# GlslPluginOptions

interface in `@dioramajs/glsl/vite`

```ts
import type { GlslPluginOptions } from '@dioramajs/glsl/vite'
```

Options of the `glsl` Vite plugin.

```ts
interface GlslPluginOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `check?` | `'all' \| 'imported'` | Dev: 'all' checks every matching file, not just imported ones. Default 'all'. |
| `convert?` | `Omit<ConvertOptions, 'name' \| 'filename' \| 'include'>` | Convert options for every file. Pragmas in the file override them. |
| `dts?` | `string \| boolean` | Write `diorama-glsl.d.ts` (or the given path) with per-file param types. Default false. |
| `include?` | `RegExp` | Shader files to handle. Default /\.(frag\|vert\|glsl\|fs\|vs)$/. |
| `report?` | `'none' \| 'bindings'` | Dev: log each file's uniform bindings on first load. Default 'bindings'. |
| `strict?` | `boolean` | Fail `vite build` on warnings. Default false. |

Defined in [packages/glsl/src/vite.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/glsl/src/vite.ts#L17).
