A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/WebGL2RenderingContext/drawBuffers below:

WebGL2RenderingContext: drawBuffers() method - Web APIs

In this article Syntax Parameters
buffers

An Array of GLenum specifying the buffers into which fragment colors will be written. Possible values are:

gl.NONE

Fragment shader output is not written into any color buffer.

gl.BACK

Fragment shader output is written into the back color buffer.

gl.COLOR_ATTACHMENT{0-15}

Fragment shader output is written in the nth color attachment of the current framebuffer.

Return value

None (undefined).

Exceptions Examples
gl.drawBuffers([gl.NONE, gl.COLOR_ATTACHMENT1]);
Specifications Browser compatibility

Loading…

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.5