bevy/crates/bevy_render/src/view
IceSentry 7125dcb268
Customizable camera main texture usage (#11412)
# 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
2024-01-18 20:33:42 +00:00
..
visibility Option to enable deterministic rendering (#11248) 2024-01-09 00:46:01 +00:00
window Use EntityHashMap whenever possible (#11353) 2024-01-15 15:51:17 +00:00
mod.rs Customizable camera main texture usage (#11412) 2024-01-18 20:33:42 +00:00
view.wgsl Exposure settings (adopted) (#11347) 2024-01-16 14:53:21 +00:00