UNPKG

bun-webgpu

Version:

Native WebGPU implementation for Bun runtime

12 lines (11 loc) 381 B
import type { Pointer } from "bun:ffi"; import type { FFISymbols } from "./ffi"; export declare class GPUCommandBufferImpl implements GPUCommandBuffer { readonly bufferPtr: Pointer; private lib; __brand: "GPUCommandBuffer"; label: string; readonly ptr: Pointer; constructor(bufferPtr: Pointer, lib: FFISymbols, label?: string); _destroy(): undefined; }