Reputation: 225
Is there any way to remove a part of texture by using opengles for ios? for example i have a rectangle and want to destroy part of it
Upvotes: 0
Views: 142
Reputation: 14467
I believe you need this: How to manipulate texture content on the fly?
Either create an empty texture and render a small quad using this empty texture on top of the FBO for your texture or use the glTexSubImage2D, which is easier for this simple purpose.
Upvotes: 2