refactor(gles): document Buffer::map_flags (#8455)

This commit is contained in:
Erich Gubler 2025-11-05 16:11:34 -05:00 committed by GitHub
parent f888eab831
commit 9447a22288
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>>,