bevy/crates/bevy_pbr/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
..
depth.wgsl Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
light.rs Migrate to encase from crevice (#4339) 2022-05-18 21:09:21 +00:00
mesh.rs Migrate to encase from crevice (#4339) 2022-05-18 21:09:21 +00:00
mesh.wgsl Add support for vertex colors (#4528) 2022-05-05 00:46:32 +00:00
mesh_struct.wgsl Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
mesh_view_bind_group.wgsl Fixing confusing near and far fields in Camera (#4457) 2022-05-16 16:37:33 +00:00
mod.rs Materials and MaterialPlugin (#3428) 2021-12-25 21:45:43 +00:00
pbr.wgsl Add support for vertex colors (#4528) 2022-05-05 00:46:32 +00:00
skinning.wgsl Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
wireframe.wgsl Fix animation: shadow and wireframe support (#4367) 2022-03-30 19:56:16 +00:00