Hey guys,
Somebody already used the scene.getEngine().hasMajorPerformanceCaveat feature?
As I understand, it kind of evaluates if the device is good for WebGL use. Is that right?
Thanks
Hey guys,
Somebody already used the scene.getEngine().hasMajorPerformanceCaveat feature?
As I understand, it kind of evaluates if the device is good for WebGL use. Is that right?
Thanks
Yes it is a way to see if you are running on the GPU basically and if the GPU is not a piece of trash
Not all browsers support it unfortunately
Thanks @Deltakosh
Sorry @Deltakosh ,
I forgot to ask what browsers support it or how I can evaluate in CanIUse.
Thanks
I would simply recommend to test the presence of the property and have a fallback in your code if this is not here (all webgl2 browsers will support it)