Returns the unmasked GPU model if available.
Returns the unmasked GPU vendor if available.
Returns Network Information API data if the browser supports it (Chrome/Edge; absent on
Firefox/Safari), or undefined otherwise.
StaticcoresStaticgpuStaticgpuStaticmemoryStaticnetworkStaticpixelStaticscreenStaticscreenReturns 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).
Returns a specific hardware limit for the current device.
The limit to query.
Uses experimental flags and hardware information to guess the device's performance capability.
Returns whether a specific boolean feature is supported by the current device.
The feature to check.
Initializes the feature detection. This is called automatically by the Engine, but can be called manually.
Returns true if the application is running on a mobile device (phone or tablet).
Updates hardware limits. Used by renderers to provide more precise values.
StaticgetStaticgetStaticgetStatichasStaticinitStaticisStaticupdate
Per-instance hardware and browser feature detection. Construct one per engine instance (see
RendererContext.deviceCaps) so multipleSmallWorlds on one page each get their own, correctly probed capabilities instead of sharing a single process-wide result.