(gl, features)
| 64097 | return hasFeatures(gl, feature); |
| 64098 | } |
| 64099 | function hasFeatures(gl, features) { |
| 64100 | features = Array.isArray(features) ? features : [ |
| 64101 | features |
| 64102 | ]; |
| 64103 | return features.every(function(feature) { |
| 64104 | return isFeatureSupported(gl, feature); |
| 64105 | }); |
| 64106 | } |
| 64107 | function getFeatures(gl) { |
| 64108 | gl.luma = gl.luma || {}; |
| 64109 | gl.luma.caps = gl.luma.caps || {}; |
no test coverage detected