Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We cannot update or delete texture/cube texture object #837

Open
KaYaF opened this issue Jul 30, 2021 · 0 comments
Open

We cannot update or delete texture/cube texture object #837

KaYaF opened this issue Jul 30, 2021 · 0 comments
Assignees
Labels
bug Something isn't working optimization Optimization (performance, quality, etc)
Milestone

Comments

@KaYaF
Copy link
Contributor

KaYaF commented Jul 30, 2021

There is no update and delete methods in the Texture / CubeTexture class.
This means a waste of memory. A Texture object once created will not be erased by GC because it inherits from RnObject, and the WebGLTexture registered by the Texture object will not be deleted.

I think we should introduce the update and delete method in the Texture / CubeTexture class.

┆Issue is synchronized with this Wrike Item

@KaYaF KaYaF added bug Something isn't working optimization Optimization (performance, quality, etc) labels Jul 30, 2021
@KaYaF KaYaF added this to the More Later milestone Jul 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working optimization Optimization (performance, quality, etc)
Projects
None yet
Development

No branches or pull requests

2 participants