glColorPointer function opengl

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

Implementation

void glColorPointer(int size, int type, int stride, Pointer<NativeType> ptr) {
  final glColorPointerAsFunction = _glColorPointer
      .cast<
        NativeFunction<
          Void Function(
            Int32 size,
            Uint32 type,
            Uint32 stride,
            Pointer<NativeType> ptr,
          )
        >
      >()
      .asFunction<
        void Function(int size, int type, int stride, Pointer<NativeType> ptr)
      >();
  return glColorPointerAsFunction(size, type, stride, ptr);
}