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

2D: Fix CanvasTexture rendering when updating channels #101931

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stuartcarnie
Copy link
Contributor

Closes #101702

This PR introduces an invalidation callback API to TextureStorageRD for CanvasTexture, so the 2D renderer can invalidate associated uniform sets when a texture channel, such as diffuse, is modified.

CleanShot 2025-01-23 at 06 45 06

@stuartcarnie stuartcarnie requested a review from a team as a code owner January 22, 2025 19:46
@stuartcarnie stuartcarnie self-assigned this Jan 22, 2025
@stuartcarnie stuartcarnie added this to the 4.4 milestone Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[4.4beta1] Adding CanvasTexture to a Sprite2D remains white until complete restart of editor
2 participants