API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classCapabilities
Frozen snapshot of host-environment feature support: which renderer backends are available, which input modalities are present, audio / fullscreen / vibration / OffscreenCanvas / Worker support, max touch points, and the resolved devicePixelRatio. Construction is private - the only public entry is Capabilities.ready, a lazy-cached `Promise<Capabilities>` that fires the (mostly) async probes on first access. The resolved instance is frozen and never mutates. Application.capabilities returns the same instance once `app.start()` has resolved.
import { Capabilities } from '@codexo/exojs'Frozen snapshot of host-environment feature support: which renderer backends are available, which input modalities are present, audio / fullscreen / vibration / OffscreenCanvas / Worker support, max touch points, and the resolved devicePixelRatio.
Construction is private - the only public entry is Capabilities.ready, a lazy-cached `Promise<Capabilities>` that fires the (mostly) async probes on first access. The resolved instance is frozen and never mutates. Application.capabilities returns the same instance once `app.start()` has resolved.
audio: booleandeviceMemory: numberdevicePixelRatio: numberfullscreen: booleangamepad: booleanimageBitmap: booleankeyboard: booleanmaxTouchPoints: numberoffscreenCanvas: booleanoffscreenWebgl2: booleanpointer: booleantouch: booleanvibration: booleanwebgl2: booleanwebgpu: booleanwebgpuAdapter: GPUAdapter | nullwebgpuArchitecture: null | stringwebgpuVendor: null | stringwebWorkers: booleanready: Promise<Capabilities>