Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Javascript get graphics card information
const canvas = document.createElement('canvas');
const webgl = canvas.getContext('experimental-webgl');
const info = webgl.getExtension('WEBGL_debug_renderer_info');
const msg = webgl.getParameter(info.UNMASKED_RENDERER_WEBGL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment