TextureSource type
A URL, a shared Texture (never disposed by us), or a loader whose Texture the instance owns.
import type { TextureSource } from '@dioramajs/diorama/glsl'type TextureSource = Texture | string | (signal: AbortSignal) => Promise<Texture>Also exported from @dioramajs/glsl.
Defined in packages/glsl/src/runtime.ts.