Skip to content
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

[Merged by Bors] - Add CameraRenderGraph::set #6470

Closed
wants to merge 1 commit into from

Conversation

Shatur
Copy link
Contributor

@Shatur Shatur commented Nov 4, 2022

Objective

Some render plugins, like bevy-hikari require to set CameraRenderGraph. In order to switch between render graphs I need to insert a new CameraRenderGraph component. It's not very ergonomic.

Solution

Add CameraRenderGraph::set like in Name.


Changelog

Added

  • CameraRenderGraph::set.

@gabriel-gheorghe
Copy link
Contributor

Good job. I use the pathtracer and I really need this Camera set. I suggest to merge it into 0.9

@cart
Copy link
Member

cart commented Nov 5, 2022

bors r+

bors bot pushed a commit that referenced this pull request Nov 5, 2022
# Objective

Some render plugins, like [bevy-hikari](https://github.com/cryscan/bevy-hikari) require to set `CameraRenderGraph`. In order to switch between render graphs I need to insert a new `CameraRenderGraph` component. It's not very ergonomic.

## Solution

Add `CameraRenderGraph::set` like in [Name](https://docs.rs/bevy/latest/bevy/core/struct.Name.html).

---

## Changelog

### Added

- `CameraRenderGraph::set`.
@james7132 james7132 added C-Enhancement A new feature A-Rendering Drawing game state to the screen labels Nov 5, 2022
@bors
Copy link
Contributor

bors bot commented Nov 5, 2022

Build failed:

  • run-examples

@james7132
Copy link
Member

The failure seems to be because of the lto = true enabled in #6461. #6472 should fix this.

@Shatur Shatur added this to the Bevy 0.9 milestone Nov 5, 2022
@rparrett
Copy link
Contributor

rparrett commented Nov 6, 2022

bors retry

bors bot pushed a commit that referenced this pull request Nov 6, 2022
# Objective

Some render plugins, like [bevy-hikari](https://github.com/cryscan/bevy-hikari) require to set `CameraRenderGraph`. In order to switch between render graphs I need to insert a new `CameraRenderGraph` component. It's not very ergonomic.

## Solution

Add `CameraRenderGraph::set` like in [Name](https://docs.rs/bevy/latest/bevy/core/struct.Name.html).

---

## Changelog

### Added

- `CameraRenderGraph::set`.
@bors bors bot changed the title Add CameraRenderGraph::set [Merged by Bors] - Add CameraRenderGraph::set Nov 6, 2022
@bors bors bot closed this Nov 6, 2022
@Shatur Shatur deleted the render-graph branch November 6, 2022 17:54
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective

Some render plugins, like [bevy-hikari](https://github.com/cryscan/bevy-hikari) require to set `CameraRenderGraph`. In order to switch between render graphs I need to insert a new `CameraRenderGraph` component. It's not very ergonomic.

## Solution

Add `CameraRenderGraph::set` like in [Name](https://docs.rs/bevy/latest/bevy/core/struct.Name.html).

---

## Changelog

### Added

- `CameraRenderGraph::set`.
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-Enhancement A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants