src/Common/Misc/WebGl/index.js
function showGlInfo(gl) {
  const vertexUnits = gl.getParameter(gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS);
  const fragmentUnits = gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS);
  const combinedUnits = gl.getParameter(gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS);
  console.log('vertex texture image units:', vertexUnits);
  console.log('fragment texture image units:', fragmentUnits);
  console.log('combined texture image units:', combinedUnits);
}
function showGlInfo(gl) {
  const vertexUnits = gl.getParameter(gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS);
  const fragmentUnits = gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS);
  const combinedUnits = gl.getParameter(gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS);
  console.log('vertex texture image units:', vertexUnits);
  console.log('fragment texture image units:', fragmentUnits);
  console.log('combined texture image units:', combinedUnits);
}
function showGlInfo ( gl ) { const vertexUnits = gl . getParameter ( gl . MAX_VERTEX_TEXTURE_IMAGE_UNITS ) ; const fragmentUnits = gl . getParameter ( gl . MAX_TEXTURE_IMAGE_UNITS ) ; const combinedUnits = gl . getParameter ( gl . MAX_COMBINED_TEXTURE_IMAGE_UNITS ) ; console . log ( 'vertex texture image units:' , vertexUnits ) ; console . log ( 'fragment texture image units:' , fragmentUnits ) ; console . log ( 'combined texture image units:' , combinedUnits ) ; }
Show GL informations
Show GL informations