Skip to content

Dioxus-Native WGPU Canvas Integration #3979

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

jkelleyrtp
Copy link
Member

No description provided.

@nicoburns
Copy link
Contributor

Ultralight has a cool API (https://ultralig.ht/api/cpp/1_4_0/classultralight_1_1_image_source.html) where you can register a texture with a URL then you can use that URL anywhere an image URL is expected (e.g src attribute of img tag or background-image css property) and it will render the texture as the image. Aside from just being very cool functionality, this would sidestep the requirement for "getElementById" or similar functionality for implementing this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants