-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
area: apiIssues related to API surfaceIssues related to API surface
Description
Followup to #9042. Since that PR, get_mapped_range_mut() does not provide any &mut [u8] but only a wgpu::WriteOnly<[u8]>. Therefore, its name (and that of BufferViewMut) is arguably incorrect.
We should consider whether we want to rename it to something else, like get_mapped_range_for_write().
The WebGPU API only has a single method named getMappedRange() corresponding to our get_mapped_range() and get_mapped_range_mut(), so there is no answer to be found there.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: apiIssues related to API surfaceIssues related to API surface