StaticcoresStaticgpuReturns the unmasked GPU model if available.
StaticgpuReturns the unmasked GPU vendor if available.
StaticmemoryStaticnetworkReturns Network Information API data if the browser supports it (Chrome/Edge; absent on
Firefox/Safari), or undefined otherwise.
StaticpixelStaticscreenStaticscreenStaticgetReturns the spec-guaranteed minimum for limit -- the value every conformant device must
support, regardless of what THIS device's getLimit() actually reports. Useful for code that
needs to work correctly even on the lowest-common-denominator device, rather than just the one
it happened to be tested on (a higher-than-guaranteed value on a dev machine or this project's
headless test sandbox has repeatedly masked real budget-overrun bugs that only surfaced on
stricter, spec-minimum hardware).
StaticgetReturns a specific hardware limit for the current device.
The limit to query.
StaticgetUses experimental flags and hardware information to guess the device's performance capability.
StatichasReturns whether a specific boolean feature is supported by the current device.
The feature to check.
StaticinitInitializes the feature detection. This is called automatically by the Engine, but can be called manually.
StaticisReturns true if the application is running on a mobile device (phone or tablet).
StaticupdateUpdates hardware limits. Used by renderers to provide more precise values.
Centralized class for hardware and browser feature detection. Provides information about supported renderers, API features, and hardware limits.