Check if underlying resource is closed.
Free underlying native resource, peer is useless afterwards.
Call this to indicate to DirectContext that the texture parameters have been modified in the GL context externally