Expand description
euv-example
Cross-platform native showcase application built with euv and euv-ui, demonstrating fine-grained reactivity, multi-mode rendering, window settings, 17 design schemes, virtualized lists, and overlays.
Structs§
- Demo
Open World3D Scene - Interactive AAA 3D open-world city scene with PBR shading, BVH ray tracing, model importing, and runtime settings.
- Demo
Physics Scene - Full-featured 2D arcade arena scene powered by
GameWorld,PhysicsWorld2D,Camera2D,ParticleSystem,TileMap,ActionMap, andAudioBus. - Showcase
State - Reactive application state powering every interactive page of the cross-platform showcase.
Constants§
- FLAG_
AI_ QUERY - Dev-only CLI flag executing a single AI Schema v1 JSON request against the headless showcase.
- FLAG_
AI_ SCHEMA - Dev-only CLI flag printing the live AI Schema v1 runtime & layout snapshot JSON.
- FLAG_
CAPTURE_ DIR - Command-line flag capturing raw RGBA screenshots of all showcase routes into the following directory.
- FLAG_
HARDWARE - Command-line flag selecting the hardware GPU pipeline.
- FLAG_
HEADLESS - Command-line flag enabling deterministic headless execution.
- FLAG_
HYBRID - Command-line flag selecting the hybrid compositor pipeline.
- FLAG_
INTERACTIVE - Command-line flag keeping the native window open in an interactive event loop.
- FLAG_
SOFTWARE - Command-line flag selecting the software rasterizer.
- ROUTE_
DATA - Route path for the virtualized list and table showcase page.
- ROUTE_
DYNAMIC - Route path for the component-level and page-level dynamic OTA updates showcase page.
- ROUTE_
DYNAMIC_ PANEL - Route path for the embedded page-level dynamic update preview slot.
- ROUTE_
FORMS - Route path for the interactive forms showcase page.
- ROUTE_
GAME - Route path for the embedded game engine & HUD showcase page.
- ROUTE_
GAME_ 3D - Route path for the AAA 3D open-world PBR & ray-tracing engine showcase page.
- ROUTE_
LAB - Route path for the complete shadcn/ui component gallery and edge-case regression lab.
- ROUTE_
MEDIA - Route path for the full cross-platform media studio (Image, SVG, GIF, LIVE, Video, Audio, PDF, HTML).
- ROUTE_
OVERLAYS - Route path for the modal, toast, and alert overlay showcase page.
- ROUTE_
OVERVIEW - Route path for the overview dashboard page.
- ROUTE_
PROMO_ LIVE - Runtime-injected dynamic route path created on demand without recompiling.
- ROUTE_
REACTIVE - Route path for the fine-grained reactivity demo page.
- ROUTE_
RENDER - Route path for the multi-mode rendering and vector canvas page.
- ROUTE_
THEMES - Route path for the 17-scheme live theme gallery page.
- ROUTE_
WINDOW - Route path for the native window and platform inspector page.
- SHOWCASE_
BRAND - Application brand title displayed in the shell chrome.
- SHOWCASE_
WINDOW_ HEIGHT - Default logical window height in pixels.
- SHOWCASE_
WINDOW_ TITLE - Default window title for the native showcase binary.
- SHOWCASE_
WINDOW_ WIDTH - Default logical window width in pixels.
- SLOT_
METRICS_ WIDGET - Component slot identifier for the independent live-updatable metrics widget.
- SLOT_
PROMO_ BANNER - Component slot identifier for the live-updatable promotional banner.
- SLOT_
WASM_ WIDGET - Scoped partial slot identifier for the live downloaded
.wasmnative widget. - TITLE_
WASM_ PARTIAL_ V1 - Display title for the downloaded partial WASM v1 widget fixture.
- URL_
WASM_ BAD_ ABI - CDN URL serving a
.wasmwith mismatched ABI version. - URL_
WASM_ CORRUPTED - CDN URL serving corrupted non-WASM magic header bytes.
- URL_
WASM_ FUEL_ BOMB - CDN URL serving an infinite-loop
.wasmterminated by fuel metering. - URL_
WASM_ GLOBAL_ V1 - CDN URL for healthy global full-app
.wasmbundle v1. - URL_
WASM_ GLOBAL_ V2 - CDN URL for healthy global full-app
.wasmbundle v2. - URL_
WASM_ HTTP_ 500 - CDN URL simulating persistent HTTP 500 server error.
- URL_
WASM_ MISSING_ EXPORT - CDN URL serving a
.wasmmissingeuv_renderexport. - URL_
WASM_ OVERSIZED - CDN URL serving an oversized binary exceeding sandbox limit.
- URL_
WASM_ PARTIAL_ V1 - CDN URL for healthy partial
.wasmmodule v1. - URL_
WASM_ PARTIAL_ V2 - CDN URL for healthy partial
.wasmmodule v2. - URL_
WASM_ TAMPERED - CDN URL serving checksum-tampered
.wasmbytes. - URL_
WASM_ TIMEOUT_ RETRY - CDN URL simulating first-attempt timeout followed by automatic retry success.
- URL_
WASM_ TRAP - CDN URL serving a trapping
unreachable.wasm. - WASM_
SHOWCASE_ SIGNING_ KEY - Shared verification key used to sign showcase dynamic
.wasmbundles.
Functions§
- capture_
showcase_ screenshots - Renders all showcase routes, responsive viewports, dark mode, scroll positions, and overlays to raw RGBA files using native system fonts.
- create_
showcase_ app - Builds an
Appand reactiveShowcaseStateconfigured for either native OS or headless mode. - create_
showcase_ app_ for_ platform - Builds an
Appand reactiveShowcaseStatereporting a specific hostPlatformKind(for native mobile hosts). - mount_
active_ route - Mounts the showcase page corresponding to the active route in
state. - mount_
data_ page - Mounts the reactive 10,000-row virtualized scrollable list plus pagination, steps, accordion, and progress.
- mount_
dynamic_ page - Mounts the interactive component-level and page-level dynamic OTA updates showcase page.
- mount_
forms_ page - Mounts the comprehensive interactive forms showcase covering inputs, steppers, radios, sliders, ratings, toggles, switches, and checkboxes.
- mount_
game3d_ page - Mounts the AAA 3D Open-World Engine page with live BVH ray tracing, runtime graphics settings, and
.obj/.gltfmodel import. - mount_
game_ page - Mounts the embedded 2D physics game engine viewport and reactive HUD overlay page.
- mount_
lab_ page - Mounts the complete shadcn/ui component showcase and production edge-case regression lab.
- mount_
media_ page - Mounts the complete cross-platform Media Studio page demonstrating Image, SVG, GIF, LIVE Photo, Video, Audio, PDF, and native HTML5.
- mount_
overlays_ page - Mounts the overlays page featuring interactive
EuvModal,EuvDrawer,EuvSheet,EuvPopover,EuvDropdown,EuvToast,EuvNotification, andEuvLoading. - mount_
overview_ page - Mounts the overview dashboard page with KPI stat cards, quick navigation buttons, and the 7-platform matrix.
- mount_
reactive_ page - Mounts the fine-grained reactivity showcase demonstrating
Signal,computed!,batch, andview!. - mount_
render_ page - Mounts the multi-mode rendering inspector with live mode switcher and vector
canvasviaview!. - mount_
showcase_ root - Mounts the fully reactive showcase application shell rebuilding cleanly on route, theme, or viewport changes.
- mount_
themes_ page - Mounts the 17-scheme live design token gallery where every scheme button switches the active app theme live.
- mount_
window_ page - Mounts the OS capabilities page with interactive A11y, Protocol Registration, Dynamic Island, Permissions, and Haptics.
- run_
headless_ smoke - Runs a complete headless smoke render of the showcase and returns frame telemetry.