Closed w0rm closed 4 years ago
It seems that gl.getProgramParameter, gl.getActiveAttrib, gl.getAttribLocation can be cached for each program and not called for each draw.
gl.getProgramParameter
gl.getActiveAttrib
gl.getAttribLocation
This could improve the performance a little bit.
It seems that
gl.getProgramParameter
,gl.getActiveAttrib
,gl.getAttribLocation
can be cached for each program and not called for each draw.This could improve the performance a little bit.