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/getIndexedParameter below:

WebGL2RenderingContext: getIndexedParameter() method - Web APIs

WebGL2RenderingContext: getIndexedParameter() method

Baseline Widely available

Note: This feature is available in Web Workers.

The WebGL2RenderingContext.getIndexedParameter() method of the WebGL 2 API returns indexed information about a given target.

Syntax
getIndexedParameter(target, index)
Parameters
target

A GLenum specifying the target for which to return information. Possible values:

When using the OES_draw_buffers_indexed WebGL 2 extension, the following values are available additionally:

index

A GLuint specifying the index of the target that is queried.

Return value

Depends on the requested information (as specified with target).

Examples
const binding = gl.getIndexedParameter(gl.TRANSFORM_FEEDBACK_BUFFER_BINDING, 0);
Specifications Browser compatibility 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.3