UNPKG

bun-webgpu

Version:

Native WebGPU implementation for Bun runtime

12 lines (11 loc) 355 B
import { type Pointer } from "bun:ffi"; import type { FFISymbols } from "./ffi"; export declare class GPUSamplerImpl implements GPUSampler { readonly samplerPtr: Pointer; private lib; __brand: "GPUSampler"; label: string; ptr: Pointer; constructor(samplerPtr: Pointer, lib: FFISymbols, label?: string); destroy(): undefined; }