bevy/crates/bevy_core_pipeline
Hennadii Chernyshchyk 534cad611d Add reflection for resources (#5175)
# Objective

We don't have reflection for resources.

## Solution

Introduce reflection for resources.

Continues #3580 (by @Davier), related to #3576.

---

## Changelog

### Added

* Reflection on a resource type (by adding `ReflectResource`):

```rust
#[derive(Reflect)]
#[reflect(Resource)]
struct MyResourse;
```

### Changed

* Rename `ReflectComponent::add_component` into `ReflectComponent::insert_component` for consistency.

## Migration Guide

* Rename `ReflectComponent::add_component` into `ReflectComponent::insert_component`.
2022-07-04 13:04:20 +00:00
..
src Add reflection for resources (#5175) 2022-07-04 13:04:20 +00:00
Cargo.toml Allow unbatched render phases to use unstable sorts (#5049) 2022-06-23 10:52:49 +00:00