WebGL2RenderingContext: readBuffer() 方法
注意:此功能在 Web Workers 中可用。
WebGL2RenderingContext.readBuffer() 方法是 WebGL 2 API 的一部分,它选择一个颜色缓冲区作为后续调用 copyTexImage2D、copyTexSubImage2D、copyTexSubImage3D 或 readPixels 方法的像素源。
注意:此功能在 Web Workers 中可用。
WebGL2RenderingContext.readBuffer() 方法是 WebGL 2 API 的一部分,它选择一个颜色缓冲区作为后续调用 copyTexImage2D、copyTexSubImage2D、copyTexSubImage3D 或 readPixels 方法的像素源。