getSamplerParameter method

JSAny? getSamplerParameter(
  1. WebGLSampler sampler,
  2. GLenum pname
)

The WebGL2RenderingContext.getSamplerParameter() method of the WebGL 2 API returns parameter information of a WebGLSampler object.

Implementation

external JSAny? getSamplerParameter(
  WebGLSampler sampler,
  GLenum pname,
);