When working with
WebGLSampler objects, the following methods of the
WebGL2RenderingContext are useful:
in this example,
gl must be a
WebGLSampler objects are not available in WebGL 1.
var sampler = gl.createSampler();
The definition of 'WebGLSample' in that specification.
|Editor's Draft||Initial definition.|
BCD tables only load in the browser
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.