WebGL2RenderingContext.drawBuffers() method of the WebGL 2 API defines draw buffers to which
fragment colors are written into. The draw buffer settings are part of the state of the
currently bound framebuffer or the drawingbuffer if no framebuffer is bound.
bufferscontains not one of the accepted values, a
gl.INVALID_ENUMerror is thrown.
|WebGL 2.0 Specification |
BCD tables only load in the browser