bevy/crates/bevy_sprite/src/mesh2d
Doonv 1c67e020f7
Move EntityHash related types into bevy_ecs (#11498)
# Objective

Reduce the size of `bevy_utils`
(https://github.com/bevyengine/bevy/issues/11478)

## Solution

Move `EntityHash` related types into `bevy_ecs`. This also allows us
access to `Entity`, which means we no longer need `EntityHashMap`'s
first generic argument.

---

## Changelog

- Moved `bevy::utils::{EntityHash, EntityHasher, EntityHashMap,
EntityHashSet}` into `bevy::ecs::entity::hash` .
- Removed `EntityHashMap`'s first generic argument. It is now hardcoded
to always be `Entity`.

## Migration Guide

- Uses of `bevy::utils::{EntityHash, EntityHasher, EntityHashMap,
EntityHashSet}` now have to be imported from `bevy::ecs::entity::hash`.
- Uses of `EntityHashMap` no longer have to specify the first generic
parameter. It is now hardcoded to always be `Entity`.
2024-02-12 15:02:24 +00:00
..
color_material.rs Remove unnecessary parens (#11075) 2023-12-24 17:43:01 +00:00
color_material.wgsl Swap material and mesh bind groups (#10485) 2023-11-28 22:26:22 +00:00
material.rs Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
mesh2d_bindings.wgsl Swap material and mesh bind groups (#10485) 2023-11-28 22:26:22 +00:00
mesh2d_functions.wgsl Update to wgpu 0.19 and raw-window-handle 0.6 (#11280) 2024-01-26 18:14:21 +00:00
mesh2d_types.wgsl Automatic batching/instancing of draw commands (#9685) 2023-09-21 22:12:34 +00:00
mesh2d_vertex_output.wgsl pbr shader cleanup (#10105) 2023-10-13 19:12:40 +00:00
mesh2d_view_bindings.wgsl update shader imports (#10180) 2023-10-21 11:51:58 +00:00
mesh2d_view_types.wgsl Refactor Globals and View structs into separate shaders (#7512) 2023-02-11 17:55:18 +00:00
mesh2d.wgsl update shader imports (#10180) 2023-10-21 11:51:58 +00:00
mesh.rs Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
mod.rs Add 2d meshes and materials (#3460) 2022-01-08 01:29:08 +00:00