Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

IncludeResult type

What an include reader returns: the code, the code with its path, or nothing.

View as Markdown
import type { IncludeResult } from '@dioramajs/glsl/convert'
type IncludeResult = string | { readonly code: string; readonly path: string } | undefined

Defined in packages/glsl/src/convert/prepare.ts.