mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-26 09:21:04 +01:00
Merge #495
495: Update a documentation to refer to create_buffer_init() instead of create_buffer_with_data() r=kvark a=yutannihilation A followup of #482 Co-authored-by: Hiroaki Yutani <yutani.ini@gmail.com>
This commit is contained in:
commit
ffa9199402
1 file changed
+1
-1
+1
-1
@@ -492,7 +492,7 @@ impl MapContext {
|
||||
|
||||
/// Handle to a GPU-accessible buffer.
|
||||
///
|
||||
/// Created with [`Device::create_buffer`] or [`Device::create_buffer_with_data`]
|
||||
/// Created with [`Device::create_buffer`] or [`Device::create_buffer_init`]
|
||||
#[derive(Debug)]
|
||||
pub struct Buffer {
|
||||
context: Arc<C>,
|
||||
|
||||
Reference in new issue
Block a user