UNPKG

bun-webgpu

Version:

Native WebGPU implementation for Bun runtime

12 lines (11 loc) 403 B
import type { Pointer } from "bun:ffi"; import type { FFISymbols } from "./ffi"; export declare class GPURenderPipelineImpl implements GPURenderPipeline { private lib; __brand: "GPURenderPipeline"; label: string; readonly ptr: Pointer; constructor(ptr: Pointer, lib: FFISymbols, label?: string); getBindGroupLayout(index: number): GPUBindGroupLayout; destroy(): undefined; }