UNPKG

typegpu

Version:

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

8 lines (7 loc) 315 B
import type { AnyData } from './dataTypes.ts'; import type { BaseData } from './wgslTypes.ts'; export declare function isContiguous(schema: BaseData): boolean; /** * Returns `true` if data represented by the `schema` doesn't have padding. */ export declare function PUBLIC_isContiguous(schema: AnyData): boolean;