Add the ability to sort Drawables (new subdivision of DrawData) to re_renderer#11131
Merged
Add the ability to sort Drawables (new subdivision of DrawData) to re_renderer#11131
Drawables (new subdivision of DrawData) to re_renderer#11131Conversation
Contributor
|
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
Merged
3 tasks
Base automatically changed from
andreas/re_renderer/picking-config-refactor
to
main
September 8, 2025 09:40
1d6ebe8 to
6e814ac
Compare
IsseW
approved these changes
Sep 9, 2025
Member
Author
|
@rerun-bot full-check |
Contributor
|
Started a full build: https://github.com/rerun-io/rerun/actions/runs/17577787670 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related
GeoPolygonarchetype #8066What
Bit of an architectural shift on how we schedule drawing in re_renderer. Previously, we'd only supplied
DrawDataand drew them for every draw phase that made sense.Now we additionally collect
Drawableswhich refer intoDrawDatabut unlikeDrawDatathey are fixed size & super lightweight, allowing us to sort them depending on a phase's need i.e. far to near for transparent and aggressively batching for everything else.This also means that
Renderer::drawis now only called once in opaque draw phases with all collected draw data & drawables.(it would be great to collect statistics about this, but that hasn't been implemented yet)
An updated overview of the drawing life cycle can be found in re_renderer's lib.rs