-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
adding transparency to window builder #3033
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, that was much easier than I expected! Some nits on the example, to better communicate to new users, but the actual engine changes LGTM.
On macOS, the window is not transparent in this example... |
Great, I'm happy with the changes to improve clarity / comments :) We should verify / fix that this works on all major platforms (or leave some very heavy notes in the example and docstrings) before merging this. |
Thanks for finding that. Yeah I just tested it myself and tried to implement it through wgpu and saw the same problem, so I'm wondering if this is the same issue: gfx-rs/wgpu#687 |
Yup that looks like it, but it doesn't seem specific to macOS, so it's not working on all platform? |
working on Windows 10 but I don't have a Linux install that I can test |
Left some comments at the top of the example, let me know if it still needs more. It would be nice to test this on Linux as well. I'm wondering if changing wgpu backends has any effect as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add the example link in the examples README
added. |
I left some nits on the commenting, but I'm now happy with the quantity and quality (other than the nits) of the documentation for this PR :) |
Whoops, fixed up the typo's |
bors try |
tryBuild failed: |
Why was this PR closed? |
@inodentry, this was closed in favor of #3105, which is just a branch-fixed version of this PR. |
Applogies, had to recreate this pr because of branching issue. Old PR: bevyengine/bevy#3033 # Objective Fixes #3032 Allowing a user to create a transparent window ## Solution I've allowed the transparent bool to be passed to the winit window builder
Objective
Fixes #3032
Allowing a user to create a transparent window
Solution
I've allowed the transparent bool to be passed to the winit window builder