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

Customizable camera main texture usage #11412

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

IceSentry
Copy link
Contributor

@IceSentry IceSentry commented Jan 18, 2024

Objective

  • Some users want to change the default texture usage of the main camera but they are currently hardcoded

Solution

  • Add a component that is used to configure the main texture usage field

Changelog

Added CameraMainTextureUsage
Added CameraMainTextureUsage to Camera3dBundle and Camera2dBundle

Migration Guide

Add main_texture_usages: Default::default() to your camera bundle.

Notes

Inspired by: #6815

@alice-i-cecile alice-i-cecile added 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 labels Jan 18, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jan 18, 2024
Merged via the queue into bevyengine:main with commit 7125dcb Jan 18, 2024
22 checks passed
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