glVertexPointer function

void glVertexPointer(
  1. int size,
  2. int type,
  3. int stride,
  4. Pointer<Void> pointer,
)
GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const void *pointer)

Implementation

void glVertexPointer(int size, int type, int stride, Pointer<Void> pointer) {
  final glVertexPointerLookupFunction = libGL.lookupFunction<
      Void Function(
          Int32 size, Uint32 type, Uint32 stride, Pointer<Void> pointer),
      void Function(int size, int type, int stride,
          Pointer<Void> pointer)>('glVertexPointer');
  return glVertexPointerLookupFunction(size, type, stride, pointer);
}