import { WGPUBuffer } from "https://deno.land/x/daybreak@v0.0.6/src/wgpu/objects.ts";
Constructors
new
WGPUBuffer(ptr: Deno.UnsafePointer)Methods
destroy(): void
getConstMappedRange(offset: number, size: number): Deno.UnsafePointer
getMappedRange(offset: number, size: number): Deno.UnsafePointer
mapAsync(): void
mode: wgpu.WGPUMapMode,
offset: number,
size: number,
callback: wgpu.WGPUBufferMapCallback,
userdata: unknown,
setLabel(label: string): void
unmap(): void