GPUBuffer

class GPUBuffer implements GPUObjectBase {
label: string;
 
destroy(): undefined;
getMappedRange(offset?: number, size?: number): ArrayBuffer;
mapAsync(
offset?: number,
size?: number,
): Promise<undefined>;
unmap(): undefined;
}

§Implements

§Properties

§
label: string
[src]

§Methods

§
destroy(): undefined
[src]
§
getMappedRange(offset?: number, size?: number): ArrayBuffer
[src]
§
mapAsync(mode: GPUMapModeFlags, offset?: number, size?: number): Promise<undefined>
[src]
§
unmap(): undefined
[src]