io.scalajs.dom.html.pixijs
Generic destroy methods to be overridden by the subclass
Generic method called when there is a WebGL context change.