default function
Webpack and Turbopack loader that turns GLSL files into TSL shaders and effects.
import { default } from '@dioramajs/glsl/loader'function default(this: LoaderContext<LoaderOptions>, source: string): voidParameters
| Name | Type | Description |
|---|---|---|
this | LoaderContext<LoaderOptions> | |
source | string |
Defined in packages/glsl/src/loader.ts.