Skip to content

Reuse generate_view_layouts in MeshPipelineViewLayouts creation#22798

Open
levydsa wants to merge 1 commit intobevyengine:mainfrom
levydsa:generate_view_layout_uninline
Open

Reuse generate_view_layouts in MeshPipelineViewLayouts creation#22798
levydsa wants to merge 1 commit intobevyengine:mainfrom
levydsa:generate_view_layout_uninline

Conversation

@levydsa
Copy link

@levydsa levydsa commented Feb 3, 2026

Objective

Closes #17537. Supersedes #17714.

Solution

generate_views_layout is currently unused due to a refactoring (#13266) that inlined it in the FromWorld implementation of MeshPipelineViewLayouts. Both are identical, so we can prevent deprecating and removing the function by just reusing it.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 3, 2026

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@kfc35 kfc35 added A-Rendering Drawing game state to the screen D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Feb 3, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Rendering (2026 Proposal) Feb 3, 2026
@kfc35 kfc35 added the C-Code-Quality A section of code that is hard to understand or change label Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

Status: No status
Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

Remove bevy_pbr::generate_view_layouts

2 participants