void Dispose()

Summary

Will release the handle for this texture. If the texture isn't referenced by anything else it'll be released properly. This will happen anyway because it's called in the destructor. By calling it manually you're just telling the engine you're done with this texture right now instead of waiting for the garbage collector.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.