Shared constants for the SDK — texture wrapping, filters,
primitive types, encodings, media types, projection modes,
navigation modes, key codes, and more.
These values are shared by loaders, exporters, the renderer, and
viewer wire formats. The GL ↔ xeokit mapping is handled inside the
WebGL renderer; the exported integer values here are stable across
SDK versions and form part of the wire format for XGF / DataModel
payloads.
Single source of truth — shared numeric codes for every SDK
module.
Stable across versions — values are pinned and form part of
the wire format. Reordering or renumbering breaks compatibility
with persisted XGF / DataModel payloads.
GL-mapped at the boundary — host code passes these constants;
the renderer converts them.
Layout-aware key codes — QWERTYLayout / AZERTYLayout
ship with the viewController
defaults, plus the underlying KEY_* codes for custom maps.
xeokit Constants
Shared constants for the SDK — texture wrapping, filters, primitive types, encodings, media types, projection modes, navigation modes, key codes, and more.
These values are shared by loaders, exporters, the renderer, and viewer wire formats. The GL ↔ xeokit mapping is handled inside the WebGL renderer; the exported integer values here are stable across SDK versions and form part of the wire format for XGF / DataModel payloads.
Categories
RepeatWrapping,ClampToEdgeWrapping,MirroredRepeatWrapping.NearestFilter,LinearFilter, and the*MipMap*variants.RGBAFormat,RGBA_S3TC_DXT*_Format,sRGBEncoding,LinearEncoding.TrianglesPrimitive,LinesPrimitive,PointsPrimitive,SolidPrimitive,SurfacePrimitive.PNGMediaType,JPEGMediaType,KTX2MediaType, etc.PerspectiveProjectionType,OrthoProjectionType,OrbitNavigationMode, etc.KEY_A..KEY_Z,KEY_NUM_*,QWERTYLayout,AZERTYLayout.Features
QWERTYLayout/AZERTYLayoutship with the viewController defaults, plus the underlyingKEY_*codes for custom maps.Installation
Usage