warnIfNotHardwareAccelerated
Log a warning when the GPU adapter is a software fallback.
Checks adapter.info.isFallbackAdapter and logs a console warning. Common on Android emulators where rendering may be slow or missing features.
Usage
useDevice and GPUDeviceProvider already call it for you. Call it yourself when you request the adapter directly:
const = await ..();
if () {
();
const = await .();
}This does not block rendering; it only logs. Test camera, native textures, and performance-critical paths on physical devices.
See also
- useDevice - requesting an adapter and device
- Native APIs - feature availability and emulator limitations
- GPUDeviceProvider - share one device and read it with
useMainDevice