bun-webgpu
Version:
Native WebGPU implementation for Bun runtime
11 lines (10 loc) • 329 B
TypeScript
import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
export declare class GPUBindGroupImpl implements GPUBindGroup {
__brand: "GPUBindGroup";
label: string;
readonly ptr: Pointer;
private lib;
constructor(ptr: Pointer, lib: FFISymbols, label?: string);
destroy(): undefined;
}