@dioramajs/glsl/loader
webpack 5 and Turbopack loader for .frag files.
On this page
import { default } from '@dioramajs/glsl/loader'Functions
default | Webpack and Turbopack loader that turns GLSL files into TSL shaders and effects. |
Interfaces
LoaderContext | The subset of webpack's loader context we use. Turbopack implements it too. |
LoaderOptions | Options of the webpack and Turbopack loader. |
Types
LoaderMode | What an import returns: the shader, an effect, or a lazy registry entry. |