pixi-jsType aliases
Type Alias: DestroyOptions
> DestroyOptions = TypeOrBool<BaseDestroyOptions & ContextDestroyOptions & TextureDestroyOptions & TextDestroyOptions>
Defined in: node_modules/pixi.js/lib/scene/container/destroyTypes.d.ts:155
Options for destroying a container and its resources. Combines all destroy options into a single configuration object.
Example
// Destroy the container and all its children, including textures and styles
container.destroy({
children: true,
texture: true,
textureSource: true,
context: true,
style: true
});