Thread: [OpenGL] glTexImage question
hi,
why "internalformat" of type "glint", while "format" "glenum"? since both share same values gl_red, gl_rgb gl_rgba etc shouldn't of same type (either glenum or glint) ?void glteximage2d(glenum target, glint level,
glint internalformat, //this
glsizei width, glsizei height, glint border,
glenum format, //and one
glenum type, const glvoid * data);
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [OpenGL] glTexImage question
Ubuntu
Comments
Post a Comment