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

GlslCode type

Codes of conversion diagnostics: errors, warnings and notes.

View as Markdown
import type { GlslCode } from '@dioramajs/diorama/glsl'
type GlslCode = 'GLSL_SYNTAX' | 'GLSL_NO_ENTRY' | 'GLSL_INCLUDE' | 'GLSL_GLSLIFY' | 'GLSL_OUTPUT' | 'GLSL_INOUT'
| 28 more | 'GLSL_EARLY_RETURN' | 'GLSL_ARRAY' | 'GLSL_GLOBAL_STATE' | 'GLSL_SAMPLER' | 'GLSL_UNIFORM_TYPE' | 'GLSL_UNSUPPORTED_TYPE' | 'GLSL_NAME_CLASH' | 'GLSL_STAGE' | 'GLSL_VERTEX' | 'GLSL_UNKNOWN_IDENTIFIER' | 'GLSL_UNKNOWN_FUNCTION' | 'GLSL_TRANSPILER' | 'GLSL_TEXTURE' | 'GLSL_PRAGMA' | 'GLSL_UNUSED' | 'GLSL_MOUSE' | 'GLSL_LOD' | 'GLSL_PARAM_DEFAULT' | 'GLSL_PARAM_RESERVED' | 'GLSL_VARYING_WRITE' | 'GLSL_THREE_REVISION' | 'GLSL_SEMANTICS' | 'GLSL_TOVAR' | 'GLSL_SINGLE_EXIT' | 'GLSL_RENAMED' | 'GLSL_COVER' | 'GLSL_FRAGCOORD' | 'GLSL_ANIMATE'

Also exported from @dioramajs/glsl, @dioramajs/glsl/convert.

Defined in packages/glsl/src/types.ts.