Destroys an object.
The object to destroy.
// How a texture would destroy itself.this.destroy = function () { _gl.deleteTexture(_texture); return Cesium.destroyObject(this);}; 复制
// How a texture would destroy itself.this.destroy = function () { _gl.deleteTexture(_texture); return Cesium.destroyObject(this);};
DeveloperError
Destroys an object.