bevy/examples/3d
Chris Foster 21f6760b2a Render to texture example: No need to create an image handle manually. (#4223)
# Objective

- Make the example a little easier to follow by removing unnecessary steps.

## Solution

- `Assets<Image>` will give us a handle for our render texture if we call `add()` instead of `set()`.  No need to set it manually; one less thing to think about while reading the example.
2022-03-16 01:53:04 +00:00
..
3d_scene.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
lighting.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
load_gltf.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
many_cubes.rs many_cubes: Add a cube pattern suitable for benchmarking culling changes (#4126) 2022-03-08 04:39:52 +00:00
msaa.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
orthographic.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
parenting.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
pbr.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
render_to_texture.rs Render to texture example: No need to create an image handle manually. (#4223) 2022-03-16 01:53:04 +00:00
shadow_biases.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
shadow_caster_receiver.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
spherical_area_lights.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
texture.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
update_gltf_scene.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00
wireframe.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00