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

WebGL2RenderingContext: createSampler() method - Web APIs

WebGL2RenderingContext: createSampler() method

Baseline Widely available

Note: This feature is available in Web Workers.

The WebGL2RenderingContext.createSampler() method of the WebGL 2 API creates and initializes WebGLSampler objects.

In this article Syntax Parameters

None.

Return value

A WebGLSampler object.

Examples

gl must be a WebGL2RenderingContext. WebGLSampler objects are not available in WebGL 1.

js

const sampler = gl.createSampler();
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.4