📅  最后修改于: 2022-03-11 15:02:58.303000             🧑  作者: Mango
var canvas = document.createElement("canvas")
var webgl = canvas.getContext("webgl") || canvas.getContext("experimental-webgl")
var debugInfo = webgl.getExtension("webgl_debug_renderer_info")
var gpu = webgl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL)