bevy/crates/bevy_render/src
IceSentry 75da2e7adf
Disable camera on window close (#8802)
# Objective

- When a window is closed, the associated camera keeps rendering even if
the RenderTarget isn't valid anymore.
	- This is essentially just wasting a lot of performance.

## Solution

- Detect the window close event and disable any camera that used the
window has a RenderTarget.

## Notes

It's possible a similar thing could be done for camera that use an image
handle, but I would fix that in a separate PR.
2023-06-10 19:50:37 +00:00
..
camera Disable camera on window close (#8802) 2023-06-10 19:50:37 +00:00
color conversions between [u8; 4] and Color (#8564) 2023-05-08 16:36:46 +00:00
mesh reflect: stable type path v2 (#7184) 2023-06-05 20:31:20 +00:00
primitives Minor mistake in Frustum::intersects_obb (#8305) 2023-04-05 19:37:59 +00:00
render_graph Add ViewNode to simplify render node management (#8118) 2023-05-08 19:42:23 +00:00
render_phase Apply codebase changes in preparation for StandardMaterial transmission (#8704) 2023-05-30 14:21:53 +00:00
render_resource reflect: stable type path v2 (#7184) 2023-06-05 20:31:20 +00:00
renderer Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00
texture update bitflags to 2.3 (#8728) 2023-06-01 08:41:42 +00:00
view Implement Reflect on NoFrustumCulling (#8801) 2023-06-10 10:04:50 +00:00
extract_component.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
extract_param.rs Use UnsafeWorldCell to increase code quality for SystemParam (#8174) 2023-04-01 15:45:07 +00:00
extract_resource.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
globals.rs Webgpu support (#8336) 2023-05-04 22:07:57 +00:00
globals.wgsl Refactor Globals and View structs into separate shaders (#7512) 2023-02-11 17:55:18 +00:00
lib.rs Rename apply_system_buffers to apply_deferred (#8726) 2023-06-02 14:04:13 +00:00
pipelined_rendering.rs Webgpu support (#8336) 2023-05-04 22:07:57 +00:00
render_asset.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
settings.rs Webgpu support (#8336) 2023-05-04 22:07:57 +00:00
spatial_bundle.rs enum Visibility component (#6320) 2022-12-25 00:39:29 +00:00