glIsSampler function

int glIsSampler(
  1. int sampler
)
define glIsSampler GLEW_GET_FUN(__glewIsSampler)
GLEW_FUN_EXPORT PFNGLISSAMPLERPROC __glewIsSampler
typedef GLboolean (GLAPIENTRY * PFNGLISSAMPLERPROC) (GLuint sampler)

Implementation

int glIsSampler(int sampler) {
  final glIsSamplerAsFunction = _glIsSampler
      .cast<NativeFunction<Uint8 Function(Uint32 sampler)>>()
      .asFunction<int Function(int sampler)>();
  return glIsSamplerAsFunction(sampler);
}