UNPKG

bun-webgpu

Version:

Native WebGPU implementation for Bun runtime

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