View Full Version : Uploading all texture MIPs in one call

Dark Photon
09-29-2016, 02:52 PM
Is there such a call? That is, to collapse this kind of loop:

for ( all mip_levels )
gl{Compressed}TexSubImage[23]D( target, mip_level )

into a single call?

I can't believe I've been working with GL all these years, and I don't remember ever seeing this. We have glTexStorage* to get rid of the gl*TexImage* loop on create. What about the call to get rid of the gl*TexSubImage* loop on update?