bevy/crates/bevy_ui/src/render
Teodor Tanasoaia 7cb4d3cb43 Migrate to encase from crevice (#4339)
# Objective

- Unify buffer APIs
- Also see #4272

## Solution

- Replace vendored `crevice` with `encase`

---

## Changelog

Changed `StorageBuffer`
Added `DynamicStorageBuffer`
Replaced `UniformVec` with `UniformBuffer`
Replaced `DynamicUniformVec` with `DynamicUniformBuffer`

## Migration Guide

### `StorageBuffer`

removed `set_body()`, `values()`, `values_mut()`, `clear()`, `push()`, `append()`
added `set()`, `get()`, `get_mut()`

### `UniformVec` -> `UniformBuffer`

renamed `uniform_buffer()` to `buffer()`
removed `len()`, `is_empty()`, `capacity()`, `push()`, `reserve()`, `clear()`, `values()`
added `set()`, `get()`

### `DynamicUniformVec` -> `DynamicUniformBuffer`

renamed `uniform_buffer()` to `buffer()`
removed `capacity()`, `reserve()`


Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-05-18 21:09:21 +00:00
..
camera.rs use marker components for cameras instead of name strings (#3635) 2022-03-12 00:41:06 +00:00
mod.rs Move float_ord from bevy_core to bevy_utils (#4189) 2022-04-27 18:02:05 +00:00
pipeline.rs Migrate to encase from crevice (#4339) 2022-05-18 21:09:21 +00:00
render_pass.rs Do not create nor execute render passes which have no phase items to draw (#4643) 2022-05-02 20:22:30 +00:00
ui.wgsl UI - keep color as 4 f32 (#4494) 2022-04-25 13:54:50 +00:00