mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01:00
Clarify about breaking max_buffer_size in Limits (#2828)
This commit is contained in:
1 parent
e125321bff
commit
5bef140228
1 file changed
+9
@@ -165,6 +165,15 @@ Extent3d {
|
||||
+ }.max_mips(wgpu::TextureDimension::D3)
|
||||
```
|
||||
|
||||
`Limits` has a new field, [`max_buffer_size`](https://docs.rs/wgpu/0.13.0/wgpu/struct.Limits.html#structfield.max_buffer_size) (not an issue if you don't define limits manually):
|
||||
|
||||
```diff
|
||||
Limits {
|
||||
// ...
|
||||
+ max_buffer_size: 256 * 1024 * 1024, // adjust as you see fit
|
||||
}
|
||||
```
|
||||
|
||||
### Added/New Features
|
||||
|
||||
#### General
|
||||
|
||||
Reference in new issue
Block a user