From 0e1baff27794d5bc55a324497d9e2489dff5faa0 Mon Sep 17 00:00:00 2001 From: andristarr Date: Sun, 1 Jun 2025 13:22:56 +0200 Subject: [PATCH] Navigatable docs for BufferUsages::MAP_WRITE (#7742) --- wgpu-types/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index cb717a7e4..a70f224eb 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -4996,7 +4996,7 @@ bitflags::bitflags! { /// may have is COPY_DST. const MAP_READ = 1 << 0; /// Allow a buffer to be mapped for writing using [`Buffer::map_async`] + [`Buffer::get_mapped_range_mut`]. - /// This does not include creating a buffer with `mapped_at_creation` set. + /// This does not include creating a buffer with [`BufferDescriptor::mapped_at_creation`] set. /// /// If [`Features::MAPPABLE_PRIMARY_BUFFERS`] feature isn't enabled, the only other usage a buffer /// may have is COPY_SRC.