Suggestion for glTexImage2D
Posted: Mon Jun 08, 2009 7:58 am
I know openGL does not do this (I think), but do you think we could have the option of "not" copying the texture in when this function is called, but just setting up the texture's parameters and VRAM allocation, and allowing the texture data to be copied in later? I was thinking that if a NULL pointer was sent in instead of the texture's pointer, it would bypass any copying. That way, nothing would really change as to what the function does currently, therefore, not breaking anyone's code.