Skip to content

@bloopjs/toodle


@bloopjs/toodle / backends/detection / detectBackend

Function: detectBackend()

detectBackend(): Promise<BackendType>

Defined in: backends/detection.ts:8

Detect the best available rendering backend.

Tries WebGPU first (better performance), falls back to WebGL 2.

Returns

Promise<BackendType>