mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
refactor(gles): document Buffer::map_flags (#8455)
This commit is contained in:
parent
f888eab831
commit
9447a22288
@ -345,6 +345,7 @@ pub struct Buffer {
|
||||
raw: Option<glow::Buffer>,
|
||||
target: BindTarget,
|
||||
size: wgt::BufferAddress,
|
||||
/// Flags to use within calls to [`Device::map_buffer`](crate::Device::map_buffer).
|
||||
map_flags: u32,
|
||||
data: Option<Arc<MaybeMutex<Vec<u8>>>>,
|
||||
offset_of_current_mapping: Arc<MaybeMutex<wgt::BufferAddress>>,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user