UNPKG

typegpu

Version:

A thin layer between JS and WebGPU/WGSL that improves development experience and allows for faster iteration.

6 lines (5 loc) 238 B
import type { TgpuRoot } from '../core/root/rootTypes.ts'; /** Lets restored resources resolve the root they belong to, identified by the shared `GPUDevice` */ export interface RestoreContext { getRoot(device: GPUDevice): TgpuRoot; }