Suggestion for glTexImage2D
Suggestion for glTexImage2D
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.
Re: Suggestion for glTexImage2D
Could you give us a usage example for why this would be of benifit? Loading textures on the DS can be somewhat non intuitive...really what we need is an entirely new texture management system decoupled from the ill suited GL system.
I am not against such an addition and it would be rather trivial to add.
EDIT
Behavior added for next release. Mainly because I was not checking for null at all which is bad and your suggestion seemed a valid response to a null texture.
I am not against such an addition and it would be rather trivial to add.
EDIT
Behavior added for next release. Mainly because I was not checking for null at all which is bad and your suggestion seemed a valid response to a null texture.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests