isSampler method

GLboolean isSampler(
  1. WebGLSampler? sampler
)

The WebGL2RenderingContext.isSampler() method of the WebGL 2 API returns true if the passed object is a valid WebGLSampler object.

Implementation

external GLboolean isSampler(WebGLSampler? sampler);