GlslSource type
One converted shader, or a vertex and a fragment shader.
import type { GlslSource } from '@dioramajs/diorama/glsl'type GlslSource<P extends ParamSpec = ParamSpec> = GlslShader<P> | { readonly fragment?: GlslShader<P>; readonly vertex?: GlslShader<P> }Also exported from @dioramajs/glsl.
Defined in packages/glsl/src/runtime.ts.