Release textures (GLKTextureInfo objects) allocated by GLKTextureLoader

后端 未结 3 982
北海茫月
北海茫月 2020-12-28 20:33

New to developing on iOS and in particular the new OpenGL related features on iOS 5, so I apologize if any of my questions are so basic.

The app I am working on is d

3条回答
  •  不思量自难忘°
    2020-12-28 21:00

    Is there a way to simply replace the contents of the texture to the same GLKTextureInfo.name handle? When using glgentextures you can use the returned texture handle to load new texuture data using glteximage2d. But with GLKTextureLoader it seems that glgentextures is being called every time new texture data is loaded...

提交回复
热议问题