glIndexPointer function opengl

void glIndexPointer(
  1. int type,
  2. int stride,
  3. Pointer<NativeType> ptr
)
GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride, const GLvoid *ptr )

Implementation

void glIndexPointer(int type, int stride, Pointer<NativeType> ptr) {
  final glIndexPointerAsFunction = _glIndexPointer
      .cast<
        NativeFunction<
          Void Function(Uint32 type, Uint32 stride, Pointer<NativeType> ptr)
        >
      >()
      .asFunction<
        void Function(int type, int stride, Pointer<NativeType> ptr)
      >();
  return glIndexPointerAsFunction(type, stride, ptr);
}