cccicl
cccicl
发布于 4个月前

js 获取显卡型号

(function () {
    var canvas = document.createElement('canvas'),
        gl = canvas.getContext('experimental-webgl'),
        debugInfo = gl.getExtension('WEBGL_debug_renderer_info');

    console.log(gl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL));
})();
©2020 edoou.com   京ICP备16001874号-3