-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
UI_PASS constant is not public #1408
Comments
I took another look through the base render graph but I don't see anything other than the main pass node which actually creates a render pass. I have updated to bevy master and the issue persists roughly as before. |
I think it was the Adding However, on master I was unable to find the actual |
It does seem to be public as of #3312. Does that resolve this issue? |
I am indeed able to see UI_PASS in docs.rs |
Context
I'm working on a plugin which adds an immediate mode drawing context for debugging purposes with simple shapes, arrows, etc, to avoid needing to spawn and manage entities.
I have implemented this functionality in a render node which I have running after the main pass, taking as input the color texture and the depth texture.
Discord.
The problem
My render pass is randomly missing depth information from the main pass. I noticed a render pass which has no draw calls but which clears the depth texture seems to be the culprit. Sometimes it runs in the same color pass as, but after, my debug node and things look fine. Sometimes it appears as a separate color pass that happens before my render pass. Where does this render pass come from? Am I missing a node I need to add a dependency on?
Render Graph Setup
From bevy_debug_draw/src/renderer.rs:312
Pass descriptor is found here. Pipeline descriptor is found here.
The text was updated successfully, but these errors were encountered: