UNPKG

typegpu

Version:

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

9 lines (8 loc) 298 B
import type { BaseData } from './wgslTypes.ts'; interface SchemaMemoryLayout { isContiguous: boolean; size: number; longestContiguousPrefix: number; } export declare function getLayoutInfo<T extends keyof SchemaMemoryLayout>(schema: BaseData, key: T): SchemaMemoryLayout[T]; export {};