glTexImage2D Interface to
OpenGL function glTexImage2D
usage: glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels )
C function: void glTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels)
Psychtoolbox/PsychOpenGL/MOGL/wrap/glTexImage2D.m