Skip to content

Bug: In v8 AnimatedSprite doesn't have option to destroy texture #11407

@urbanmotmot

Description

@urbanmotmot

Current Behavior

There's no option to destroy the underlying texture for AnimatedSprite's destroy method. (I raised this in the Discord and was told to make a Github issue).

AnimatedSprite's destroy method:

public destroy(): void

Sprite's destroy method:

public override destroy(options: DestroyOptions = false)

Expected Behavior

There should be an option to destroy the texture like there was in previous versions of pixi.

Steps to Reproduce

N/A

Environment

PIXI version 8

Possible Solution

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIndicating to new contributors a PR is simple/easy. Things like documentation or type fixes.🕷 BugVerified that it’s actually a legit bug that exists in the current release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions