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

EntryMeta interface

What a registry knows of a shader effect before its module loads: the `EffectEntry` fields other than `load`.

View as Markdown
import type { EntryMeta } from '@dioramajs/glsl/convert'

. Keys without a pragma are left out.

interface EntryMeta

Members

NameTypeDescription
readonly params{ [name: string]: ParamDefault }

Param defaults of both stages.

readonly presence?'fade' | 'custom'

From // @diorama presence=….

readonly reducedMotion?'static' | 'off'

From // @diorama reducedMotion=….

readonly when?string

From // @diorama when=….

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