MCPcopy
hub / github.com/CesiumGS/cesium / destroy

Method destroy

packages/engine/Source/Scene/ResourceLoader.js:112–115  ·  view source on GitHub ↗

* Destroys the loaded resource. * * Once an object is destroyed, it should not be used; calling any function other than * isDestroyed will result in a DeveloperError exception. Therefore, * assign the return value ( undefined ) to the object

()

Source from the content-addressed store, hash-verified

110 * @private
111 */
112 destroy() {
113 this.unload();
114 return destroyObject(this);
115 }
116}
117
118export default ResourceLoader;

Callers 15

destroyTexturesFunction · 0.45
destroyFramebuffersFunction · 0.45
PropertyTable.jsFile · 0.45
Picking.jsFile · 0.45
BatchTexture.jsFile · 0.45
PickDepth.jsFile · 0.45
destroyFramebuffersFunction · 0.45

Calls 2

unloadMethod · 0.95
destroyObjectFunction · 0.85

Tested by

no test coverage detected