Skip to content

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
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