# default

function in `@dioramajs/glsl/loader`

```ts
import { default } from '@dioramajs/glsl/loader'
```

Webpack and Turbopack loader that turns GLSL files into TSL shaders and effects.

```ts
function default(this: LoaderContext<LoaderOptions>, source: string): void
```

| Parameter | Type | Description |
| --- | --- | --- |
| `this` | `LoaderContext<LoaderOptions>` |  |
| `source` | `string` |  |

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