Sending SetFragment Texture Onetime in Metal IOS

304 Views Asked by At

I am drawing quad and attaching texture where my finger touches in screen. the texture i am using is same. but after some time of finger touch FPS goes down to 5 to 10. If I debug

enter image description here

We can see in the image the setFragmentTexture Command going every-time. The same thing repeating.

How can optimize so that I can use the texture optimize way. Only once I need to send the Texture to the GPU and use that Texture in future

0

There are 0 best solutions below