glDrawRangeElements function opengl

void glDrawRangeElements(
  1. int mode,
  2. int start,
  3. int end,
  4. int count,
  5. int type,
  6. Pointer<NativeType> indices,
)
GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices )

Implementation

void glDrawRangeElements(
  int mode,
  int start,
  int end,
  int count,
  int type,
  Pointer<NativeType> indices,
) {
  final glDrawRangeElementsAsFunction = _glDrawRangeElements
      .cast<
        NativeFunction<
          Void Function(
            Uint32 mode,
            Uint32 start,
            Uint32 end,
            Uint32 count,
            Uint32 type,
            Pointer<NativeType> indices,
          )
        >
      >()
      .asFunction<
        void Function(
          int mode,
          int start,
          int end,
          int count,
          int type,
          Pointer<NativeType> indices,
        )
      >();
  return glDrawRangeElementsAsFunction(mode, start, end, count, type, indices);
}