Skip to content

Commit 9447a22

Browse files
refactor(gles): document Buffer::map_flags (gfx-rs#8455)
1 parent f888eab commit 9447a22

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wgpu-hal/src/gles/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ pub struct Buffer {
345345
raw: Option<glow::Buffer>,
346346
target: BindTarget,
347347
size: wgt::BufferAddress,
348+
/// Flags to use within calls to [`Device::map_buffer`](crate::Device::map_buffer).
348349
map_flags: u32,
349350
data: Option<Arc<MaybeMutex<Vec<u8>>>>,
350351
offset_of_current_mapping: Arc<MaybeMutex<wgt::BufferAddress>>,

0 commit comments

Comments
 (0)