Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to tell whether an existing site is using WebGL?

I'm trying to work out whether a certain website is using WebGL. I'm comfortable using Chrome's developer tools, but I'm not quite sure what I'm looking for. I see various variables and classes with "webgl" in the name, but no call to initWebGL() for instance.

Is there a reliable, perhaps simpler, way to tell?

like image 376
Steve Bennett Avatar asked Oct 28 '25 15:10

Steve Bennett


1 Answers

First, there should be a <canvas> element in the body. If not, it can't be WebGL.

Second, open the chrome debugger and press Ctrl+Shift+F (Command+Option+F for MacOS). At the very bottom, expand the search pane if necessary. Search for "bindBuffer". You absolutely must bind buffers to do anything with WebGL. It will be used.

like image 171
doug65536 Avatar answered Oct 31 '25 05:10

doug65536



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!