added webGPU flag
All checks were successful
Build and Deploy / build (push) Successful in 1m55s

This commit is contained in:
Michael Mainguy 2026-03-03 08:24:51 -06:00
parent eef2dcd5a5
commit bf5ebbc454

View File

@ -20,7 +20,8 @@ import {DefaultScene} from "./defaultScene";
import {Introduction} from "./tutorial/introduction"; import {Introduction} from "./tutorial/introduction";
import {PouchData} from "./integration/database/pouchData"; import {PouchData} from "./integration/database/pouchData";
const webGpu = false; const webGpu = new URLSearchParams(window.location.search).has('webGPU');
console.log(`Rendering backend: ${webGpu ? 'WebGPU' : 'WebGL'}`);
log.setLevel('debug', false); log.setLevel('debug', false);
export default class VrApp { export default class VrApp {