createSampler method

WebGLSampler? createSampler()

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

Implementation

external WebGLSampler? createSampler();