glScissor function opengl

void glScissor(
  1. int x,
  2. int y,
  3. int width,
  4. int height,
)
GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height)

Implementation

void glScissor(int x, int y, int width, int height) {
  final glScissorAsFunction = _glScissor
      .cast<
        NativeFunction<
          Void Function(Int32 x, Int32 y, Uint32 width, Uint32 height)
        >
      >()
      .asFunction<void Function(int x, int y, int width, int height)>();
  return glScissorAsFunction(x, y, width, height);
}