Skip to content

[Merged by Bors] - EntityRenderCommand and PhaseItemRenderCommand - #3111

Closed
cart wants to merge 1 commit into
bevyengine:pipelined-renderingfrom
cart:entity-render-commands
Closed

cart wants to merge 1 commit into
bevyengine:pipelined-renderingfrom
cart:entity-render-commands

Conversation

@cart

@cart cart commented Nov 12, 2021 •

Copy link
Copy Markdown
Member

Adds new EntityRenderCommand, EntityPhaseItem, and CachedPipelinePhaseItem traits to make it possible to reuse RenderCommands across phases. This should be helpful for features like #3072 . It also makes the trait impls slightly less generic-ey in the common cases.

This also fixes the custom shader examples to account for the recent Frustum Culling and MSAA changes (the UX for these things will be improved later).

@cart cart added the A-Rendering Drawing game state to the screen label Nov 12, 2021
@cart cart added this to the Bevy 0.6 milestone Nov 12, 2021
@alice-i-cecile alice-i-cecile added the C-Usability A targeted quality-of-life change that makes Bevy easier to use label Nov 12, 2021

@superdump superdump left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@Davier Davier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The EntityRenderCommand, EntityPhaseItem and CachedPipelinePhaseItem traits look great. I will try them soon.
I haven't reviewed the custom_shader part.
It seems that the PR title needs updating, there are no PhaseItemRenderCommands

@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Nov 12, 2021
@cart

cart commented Nov 12, 2021

Copy link
Copy Markdown
Member Author

Oops good call @Davier! Updated to include the proper trait names.

@cart
cart force-pushed the entity-render-commands branch from 33a26a7 to 64239ea Compare November 12, 2021 22:26
@cart

cart commented Nov 12, 2021

Copy link
Copy Markdown
Member Author

(just renamed the commit ... no changes)

@cart

cart commented Nov 12, 2021

Copy link
Copy Markdown
Member Author

bors r+

bors Bot pushed a commit that referenced this pull request Nov 12, 2021
Adds new `EntityRenderCommand`, `EntityPhaseItem`, and `CachedPipelinePhaseItem` traits to make it possible to reuse RenderCommands across phases. This should be helpful for features like #3072 . It also makes the trait impls slightly less generic-ey in the common cases.

This also fixes the custom shader examples to account for the recent Frustum Culling and MSAA changes (the UX for these things will be improved later).
@bors

bors Bot commented Nov 12, 2021

Copy link
Copy Markdown

@bors bors Bot changed the title EntityRenderCommand and PhaseItemRenderCommand [Merged by Bors] - EntityRenderCommand and PhaseItemRenderCommand Nov 12, 2021
@bors bors Bot closed this Nov 12, 2021
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-Usability A targeted quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants