WebGLRenderingContext.flush()

flush方法清空不同的缓冲区命令,导致要尽可能快地执行的所有命令。

语法

void gl.flush();

参数

返回值

规范

WebGL 1.0

OpenGL ES 2.0

浏览器兼容

Desktop:Chrome 9、Edge 12、 Firefox 4.0 、 Internet Explorer 11 、Opera 12、Safari 5.1;

Mobile: Android ?、 Chrome for Android 25、Edge (Yes) 、 Firefox Mobile 4.0、Firefox OS 1.0、 IE Mobile ?、 Opera Mobile 12、 Safari Mobile 8.0

results matching ""

    No results matching ""