Is a texture visible

I have some code which automatically updates a texture by modifying its pixels. For performance reasons, I don’t want to do this if the texture is not actually visible on any game objects.

Is there any way to determine this programatically without explicitly notifying my update script of each item that uses the texture?

Could OnBecameVisible be useful to your purpose? I’ve never used that, so it’s just an advice.