typegpu 0.5.7 → 0.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/data/index.d.cts CHANGED
@@ -1,5 +1,6 @@
1
- import { aG as Bool, aH as F16, aI as F32, aJ as I32, aK as U32, A as AnyWgslData, aL as WgslStruct, h as WgslArray, j as AnyData, aM as Ptr, aN as Vec2b, aO as Vec2f, aP as Vec2h, aQ as Vec2i, aR as Vec2u, aS as Vec3b, aT as Vec3f, aU as Vec3h, aV as Vec3i, aW as Vec3u, aX as Vec4b, aY as Vec4f, aZ as Vec4h, a_ as Vec4i, a$ as Vec4u, D as Disarray, b0 as BaseData, b1 as Unstruct, b2 as Mat2x2f, b3 as Mat3x3f, b4 as Mat4x4f, b5 as m2x2f, b6 as m3x3f, b7 as m4x4f, b8 as Atomic } from '../tgpuComputeFn-DH8_PcIR.cjs';
2
- export { bk as Align, bH as AnyAttribute, bU as AnyBuiltin, bE as AnyLooseData, bl as AnyVecInstance, bm as AnyWgslStruct, bn as Builtin, bV as BuiltinClipDistances, bW as BuiltinFragDepth, bX as BuiltinFrontFacing, bY as BuiltinGlobalInvocationId, bZ as BuiltinInstanceIndex, b_ as BuiltinLocalInvocationId, b$ as BuiltinLocalInvocationIndex, c0 as BuiltinNumWorkgroups, c1 as BuiltinPosition, c2 as BuiltinSampleIndex, c3 as BuiltinSampleMask, c4 as BuiltinVertexIndex, c5 as BuiltinWorkgroupId, bo as Decorated, c8 as FormatToWGSLType, bI as HasCustomLocation, I as Infer, c6 as InferGPU, c7 as InferPartial, bp as Interpolate, bK as IsBuiltin, bq as Location, bF as LooseDecorated, cR as PackedData, br as Size, c9 as TgpuVertexFormatData, bG as align, bT as builtin, cA as float16, cB as float16x2, cC as float16x4, cD as float32, cE as float32x2, cF as float32x3, cG as float32x4, ca as formatToWGSLType, bJ as interpolate, b9 as isAlignAttrib, ba as isAtomic, bL as isBuiltin, bb as isBuiltinAttrib, bO as isData, bc as isDecorated, bP as isDisarray, bd as isInterpolateAttrib, be as isLocationAttrib, bQ as isLooseData, bR as isLooseDecorated, bf as isPtr, bg as isSizeAttrib, bS as isUnstruct, bh as isWgslArray, bi as isWgslData, bj as isWgslStruct, bM as location, cb as packedFormats, cr as sint16, cs as sint16x2, ct as sint16x4, cL as sint32, cM as sint32x2, cN as sint32x3, cO as sint32x4, cf as sint8, cg as sint8x2, ch as sint8x4, bN as size, cx as snorm16, cy as snorm16x2, cz as snorm16x4, cl as snorm8, cm as snorm8x2, cn as snorm8x4, co as uint16, cp as uint16x2, cq as uint16x4, cH as uint32, cI as uint32x2, cJ as uint32x3, cK as uint32x4, cc as uint8, cd as uint8x2, ce as uint8x4, cP as unorm10_10_10_2, cu as unorm16, cv as unorm16x2, cw as unorm16x4, ci as unorm8, cj as unorm8x2, ck as unorm8x4, cQ as unorm8x4_bgra, bs as v2b, bt as v2f, bu as v2i, bv as v2u, bw as v3b, bx as v3f, by as v3i, bz as v3u, bA as v4b, bB as v4f, bC as v4i, bD as v4u } from '../tgpuComputeFn-DH8_PcIR.cjs';
1
+ import { aG as Bool, aH as F16, aI as F32, aJ as I32, aK as U32, A as AnyWgslData, aL as WgslStruct, h as WgslArray, j as AnyData, aM as Ptr, aN as Vec2b, aO as Vec2f, aP as Vec2h, aQ as Vec2i, aR as Vec2u, aS as Vec3b, aT as Vec3f, aU as Vec3h, aV as Vec3i, aW as Vec3u, aX as Vec4b, aY as Vec4f, aZ as Vec4h, a_ as Vec4i, a$ as Vec4u, D as Disarray, b0 as BaseData, b1 as Unstruct, b2 as Atomic } from '../tgpuComputeFn-BxPDI5hQ.cjs';
2
+ export { bf as Align, bI as AnyAttribute, bV as AnyBuiltin, bF as AnyLooseData, bg as AnyVecInstance, bh as AnyWgslStruct, bi as Builtin, bW as BuiltinClipDistances, bX as BuiltinFragDepth, bY as BuiltinFrontFacing, bZ as BuiltinGlobalInvocationId, b_ as BuiltinInstanceIndex, b$ as BuiltinLocalInvocationId, c0 as BuiltinLocalInvocationIndex, c1 as BuiltinNumWorkgroups, c2 as BuiltinPosition, c3 as BuiltinSampleIndex, c4 as BuiltinSampleMask, c5 as BuiltinVertexIndex, c6 as BuiltinWorkgroupId, bj as Decorated, c9 as FormatToWGSLType, bJ as HasCustomLocation, I as Infer, c7 as InferGPU, c8 as InferPartial, bk as Interpolate, bL as IsBuiltin, bl as Location, bG as LooseDecorated, bp as Mat2x2f, bq as Mat3x3f, br as Mat4x4f, cS as PackedData, bs as Size, ca as TgpuVertexFormatData, be as Void, bH as align, bU as builtin, cB as float16, cC as float16x2, cD as float16x4, cE as float32, cF as float32x2, cG as float32x3, cH as float32x4, cb as formatToWGSLType, bK as interpolate, b3 as isAlignAttrib, b4 as isAtomic, bM as isBuiltin, b5 as isBuiltinAttrib, bP as isData, b6 as isDecorated, bQ as isDisarray, b7 as isInterpolateAttrib, b8 as isLocationAttrib, bR as isLooseData, bS as isLooseDecorated, b9 as isPtr, ba as isSizeAttrib, bT as isUnstruct, bb as isWgslArray, bc as isWgslData, bd as isWgslStruct, bN as location, bm as m2x2f, bn as m3x3f, bo as m4x4f, cc as packedFormats, cs as sint16, ct as sint16x2, cu as sint16x4, cM as sint32, cN as sint32x2, cO as sint32x3, cP as sint32x4, cg as sint8, ch as sint8x2, ci as sint8x4, bO as size, cy as snorm16, cz as snorm16x2, cA as snorm16x4, cm as snorm8, cn as snorm8x2, co as snorm8x4, cp as uint16, cq as uint16x2, cr as uint16x4, cI as uint32, cJ as uint32x2, cK as uint32x3, cL as uint32x4, cd as uint8, ce as uint8x2, cf as uint8x4, cQ as unorm10_10_10_2, cv as unorm16, cw as unorm16x2, cx as unorm16x4, cj as unorm8, ck as unorm8x2, cl as unorm8x4, cR as unorm8x4_bgra, bt as v2b, bu as v2f, bv as v2i, bw as v2u, bx as v3b, by as v3f, bz as v3i, bA as v3u, bB as v4b, bC as v4f, bD as v4i, bE as v4u } from '../tgpuComputeFn-BxPDI5hQ.cjs';
3
+ export { m as mat2x2f, a as mat3x3f, b as mat4x4f, c as matToArray } from '../matrix-BnXitNJ7.cjs';
3
4
  import 'tinyest';
4
5
 
5
6
  /**
@@ -312,80 +313,6 @@ declare function disarrayOf<TElement extends AnyData>(elementType: TElement, cou
312
313
  */
313
314
  declare function unstruct<TProps extends Record<string, BaseData>>(properties: TProps): Unstruct<TProps>;
314
315
 
315
- /**
316
- * Schema representing mat2x2f - a matrix with 2 rows and 2 columns, with elements of type f32.
317
- * Also a constructor function for this matrix type.
318
- *
319
- * @example
320
- * const zero2x2 = mat2x2f(); // filled with zeros
321
- *
322
- * @example
323
- * const mat = mat2x2f(0, 1, 2, 3);
324
- * mat.columns[0] // vec2f(0, 1)
325
- * mat.columns[1] // vec2f(2, 3)
326
- *
327
- * @example
328
- * const mat = mat2x2f(
329
- * vec2f(0, 1), // column 0
330
- * vec2f(1, 2), // column 1
331
- * );
332
- *
333
- * @example
334
- * const buffer = root.createBuffer(d.mat2x2f, d.mat2x2f(0, 1, 2, 3)); // buffer holding a d.mat2x2f value, with an initial value of ((0, 1), (2, 3))
335
- */
336
- declare const mat2x2f: Mat2x2f;
337
- /**
338
- * Schema representing mat3x3f - a matrix with 3 rows and 3 columns, with elements of type f32.
339
- * Also a constructor function for this matrix type.
340
- *
341
- * @example
342
- * const zero3x3 = mat3x3f(); // filled with zeros
343
- *
344
- * @example
345
- * const mat = mat3x3f(0, 1, 2, 3, 4, 5, 6, 7, 8);
346
- * mat.columns[0] // vec3f(0, 1, 2)
347
- * mat.columns[1] // vec3f(3, 4, 5)
348
- * mat.columns[2] // vec3f(6, 7, 8)
349
- *
350
- * @example
351
- * const mat = mat3x3f(
352
- * vec3f(0, 1, 2), // column 0
353
- * vec3f(2, 3, 4), // column 1
354
- * vec3f(5, 6, 7), // column 2
355
- * );
356
- *
357
- * @example
358
- * const buffer = root.createBuffer(d.mat3x3f, d.mat3x3f()); // buffer holding a d.mat3x3f value, with an initial value of mat3x3f filled with zeros
359
- */
360
- declare const mat3x3f: Mat3x3f;
361
- /**
362
- * Schema representing mat4x4f - a matrix with 4 rows and 4 columns, with elements of type f32.
363
- * Also a constructor function for this matrix type.
364
- *
365
- * @example
366
- * const zero4x4 = mat4x4f(); // filled with zeros
367
- *
368
- * @example
369
- * const mat = mat4x4f(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
370
- * mat.columns[0] // vec4f(0, 1, 2, 3)
371
- * mat.columns[1] // vec4f(4, 5, 6, 7)
372
- * mat.columns[2] // vec4f(8, 9, 10, 11)
373
- * mat.columns[3] // vec4f(12, 13, 14, 15)
374
- *
375
- * @example
376
- * const mat = mat4x4f(
377
- * vec4f(0, 1, 2, 3), // column 0
378
- * vec4f(4, 5, 6, 7), // column 1
379
- * vec4f(8, 9, 10, 11), // column 2
380
- * vec4f(12, 13, 14, 15), // column 3
381
- * );
382
- *
383
- * @example
384
- * const buffer = root.createBuffer(d.mat4x4f, d.mat4x4f()); // buffer holding a d.mat4x4f value, with an initial value of mat4x4f filled with zeros
385
- */
386
- declare const mat4x4f: Mat4x4f;
387
- declare function matToArray(mat: m2x2f | m3x3f | m4x4f): number[];
388
-
389
316
  /**
390
317
  * Marks a concrete integer scalar type schema (u32 or i32) as a WGSL atomic.
391
318
  *
@@ -407,4 +334,4 @@ declare function PUBLIC_sizeOf(schema: AnyData): number;
407
334
  */
408
335
  declare function PUBLIC_alignmentOf(schema: AnyData): number;
409
336
 
410
- export { AnyData, AnyWgslData, Atomic, BaseData, BaseData as BaseWgslData, Bool, Disarray, F16, F32, I32, Mat2x2f, Mat3x3f, Mat4x4f, Ptr, U32, Unstruct, Vec2b, Vec2f, Vec2h, Vec2i, Vec2u, Vec3b, Vec3f, Vec3h, Vec3i, Vec3u, Vec4b, Vec4f, Vec4h, Vec4i, Vec4u, WgslArray, WgslStruct, PUBLIC_alignmentOf as alignmentOf, arrayOf, atomic, bool, disarrayOf, f16, f32, i32, m2x2f, m3x3f, m4x4f, mat2x2f, mat3x3f, mat4x4f, matToArray, ptrFn, ptrHandle, ptrPrivate, ptrStorage, ptrUniform, ptrWorkgroup, PUBLIC_sizeOf as sizeOf, struct, u32, unstruct, vec2b, vec2f, vec2h, vec2i, vec2u, vec3b, vec3f, vec3h, vec3i, vec3u, vec4b, vec4f, vec4h, vec4i, vec4u };
337
+ export { AnyData, AnyWgslData, Atomic, BaseData, BaseData as BaseWgslData, Bool, Disarray, F16, F32, I32, Ptr, U32, Unstruct, Vec2b, Vec2f, Vec2h, Vec2i, Vec2u, Vec3b, Vec3f, Vec3h, Vec3i, Vec3u, Vec4b, Vec4f, Vec4h, Vec4i, Vec4u, WgslArray, WgslStruct, PUBLIC_alignmentOf as alignmentOf, arrayOf, atomic, bool, disarrayOf, f16, f32, i32, ptrFn, ptrHandle, ptrPrivate, ptrStorage, ptrUniform, ptrWorkgroup, PUBLIC_sizeOf as sizeOf, struct, u32, unstruct, vec2b, vec2f, vec2h, vec2i, vec2u, vec3b, vec3f, vec3h, vec3i, vec3u, vec4b, vec4f, vec4h, vec4i, vec4u };
package/data/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { aG as Bool, aH as F16, aI as F32, aJ as I32, aK as U32, A as AnyWgslData, aL as WgslStruct, h as WgslArray, j as AnyData, aM as Ptr, aN as Vec2b, aO as Vec2f, aP as Vec2h, aQ as Vec2i, aR as Vec2u, aS as Vec3b, aT as Vec3f, aU as Vec3h, aV as Vec3i, aW as Vec3u, aX as Vec4b, aY as Vec4f, aZ as Vec4h, a_ as Vec4i, a$ as Vec4u, D as Disarray, b0 as BaseData, b1 as Unstruct, b2 as Mat2x2f, b3 as Mat3x3f, b4 as Mat4x4f, b5 as m2x2f, b6 as m3x3f, b7 as m4x4f, b8 as Atomic } from '../tgpuComputeFn-DH8_PcIR.js';
2
- export { bk as Align, bH as AnyAttribute, bU as AnyBuiltin, bE as AnyLooseData, bl as AnyVecInstance, bm as AnyWgslStruct, bn as Builtin, bV as BuiltinClipDistances, bW as BuiltinFragDepth, bX as BuiltinFrontFacing, bY as BuiltinGlobalInvocationId, bZ as BuiltinInstanceIndex, b_ as BuiltinLocalInvocationId, b$ as BuiltinLocalInvocationIndex, c0 as BuiltinNumWorkgroups, c1 as BuiltinPosition, c2 as BuiltinSampleIndex, c3 as BuiltinSampleMask, c4 as BuiltinVertexIndex, c5 as BuiltinWorkgroupId, bo as Decorated, c8 as FormatToWGSLType, bI as HasCustomLocation, I as Infer, c6 as InferGPU, c7 as InferPartial, bp as Interpolate, bK as IsBuiltin, bq as Location, bF as LooseDecorated, cR as PackedData, br as Size, c9 as TgpuVertexFormatData, bG as align, bT as builtin, cA as float16, cB as float16x2, cC as float16x4, cD as float32, cE as float32x2, cF as float32x3, cG as float32x4, ca as formatToWGSLType, bJ as interpolate, b9 as isAlignAttrib, ba as isAtomic, bL as isBuiltin, bb as isBuiltinAttrib, bO as isData, bc as isDecorated, bP as isDisarray, bd as isInterpolateAttrib, be as isLocationAttrib, bQ as isLooseData, bR as isLooseDecorated, bf as isPtr, bg as isSizeAttrib, bS as isUnstruct, bh as isWgslArray, bi as isWgslData, bj as isWgslStruct, bM as location, cb as packedFormats, cr as sint16, cs as sint16x2, ct as sint16x4, cL as sint32, cM as sint32x2, cN as sint32x3, cO as sint32x4, cf as sint8, cg as sint8x2, ch as sint8x4, bN as size, cx as snorm16, cy as snorm16x2, cz as snorm16x4, cl as snorm8, cm as snorm8x2, cn as snorm8x4, co as uint16, cp as uint16x2, cq as uint16x4, cH as uint32, cI as uint32x2, cJ as uint32x3, cK as uint32x4, cc as uint8, cd as uint8x2, ce as uint8x4, cP as unorm10_10_10_2, cu as unorm16, cv as unorm16x2, cw as unorm16x4, ci as unorm8, cj as unorm8x2, ck as unorm8x4, cQ as unorm8x4_bgra, bs as v2b, bt as v2f, bu as v2i, bv as v2u, bw as v3b, bx as v3f, by as v3i, bz as v3u, bA as v4b, bB as v4f, bC as v4i, bD as v4u } from '../tgpuComputeFn-DH8_PcIR.js';
1
+ import { aG as Bool, aH as F16, aI as F32, aJ as I32, aK as U32, A as AnyWgslData, aL as WgslStruct, h as WgslArray, j as AnyData, aM as Ptr, aN as Vec2b, aO as Vec2f, aP as Vec2h, aQ as Vec2i, aR as Vec2u, aS as Vec3b, aT as Vec3f, aU as Vec3h, aV as Vec3i, aW as Vec3u, aX as Vec4b, aY as Vec4f, aZ as Vec4h, a_ as Vec4i, a$ as Vec4u, D as Disarray, b0 as BaseData, b1 as Unstruct, b2 as Atomic } from '../tgpuComputeFn-BxPDI5hQ.js';
2
+ export { bf as Align, bI as AnyAttribute, bV as AnyBuiltin, bF as AnyLooseData, bg as AnyVecInstance, bh as AnyWgslStruct, bi as Builtin, bW as BuiltinClipDistances, bX as BuiltinFragDepth, bY as BuiltinFrontFacing, bZ as BuiltinGlobalInvocationId, b_ as BuiltinInstanceIndex, b$ as BuiltinLocalInvocationId, c0 as BuiltinLocalInvocationIndex, c1 as BuiltinNumWorkgroups, c2 as BuiltinPosition, c3 as BuiltinSampleIndex, c4 as BuiltinSampleMask, c5 as BuiltinVertexIndex, c6 as BuiltinWorkgroupId, bj as Decorated, c9 as FormatToWGSLType, bJ as HasCustomLocation, I as Infer, c7 as InferGPU, c8 as InferPartial, bk as Interpolate, bL as IsBuiltin, bl as Location, bG as LooseDecorated, bp as Mat2x2f, bq as Mat3x3f, br as Mat4x4f, cS as PackedData, bs as Size, ca as TgpuVertexFormatData, be as Void, bH as align, bU as builtin, cB as float16, cC as float16x2, cD as float16x4, cE as float32, cF as float32x2, cG as float32x3, cH as float32x4, cb as formatToWGSLType, bK as interpolate, b3 as isAlignAttrib, b4 as isAtomic, bM as isBuiltin, b5 as isBuiltinAttrib, bP as isData, b6 as isDecorated, bQ as isDisarray, b7 as isInterpolateAttrib, b8 as isLocationAttrib, bR as isLooseData, bS as isLooseDecorated, b9 as isPtr, ba as isSizeAttrib, bT as isUnstruct, bb as isWgslArray, bc as isWgslData, bd as isWgslStruct, bN as location, bm as m2x2f, bn as m3x3f, bo as m4x4f, cc as packedFormats, cs as sint16, ct as sint16x2, cu as sint16x4, cM as sint32, cN as sint32x2, cO as sint32x3, cP as sint32x4, cg as sint8, ch as sint8x2, ci as sint8x4, bO as size, cy as snorm16, cz as snorm16x2, cA as snorm16x4, cm as snorm8, cn as snorm8x2, co as snorm8x4, cp as uint16, cq as uint16x2, cr as uint16x4, cI as uint32, cJ as uint32x2, cK as uint32x3, cL as uint32x4, cd as uint8, ce as uint8x2, cf as uint8x4, cQ as unorm10_10_10_2, cv as unorm16, cw as unorm16x2, cx as unorm16x4, cj as unorm8, ck as unorm8x2, cl as unorm8x4, cR as unorm8x4_bgra, bt as v2b, bu as v2f, bv as v2i, bw as v2u, bx as v3b, by as v3f, bz as v3i, bA as v3u, bB as v4b, bC as v4f, bD as v4i, bE as v4u } from '../tgpuComputeFn-BxPDI5hQ.js';
3
+ export { m as mat2x2f, a as mat3x3f, b as mat4x4f, c as matToArray } from '../matrix-BULDDGYa.js';
3
4
  import 'tinyest';
4
5
 
5
6
  /**
@@ -312,80 +313,6 @@ declare function disarrayOf<TElement extends AnyData>(elementType: TElement, cou
312
313
  */
313
314
  declare function unstruct<TProps extends Record<string, BaseData>>(properties: TProps): Unstruct<TProps>;
314
315
 
315
- /**
316
- * Schema representing mat2x2f - a matrix with 2 rows and 2 columns, with elements of type f32.
317
- * Also a constructor function for this matrix type.
318
- *
319
- * @example
320
- * const zero2x2 = mat2x2f(); // filled with zeros
321
- *
322
- * @example
323
- * const mat = mat2x2f(0, 1, 2, 3);
324
- * mat.columns[0] // vec2f(0, 1)
325
- * mat.columns[1] // vec2f(2, 3)
326
- *
327
- * @example
328
- * const mat = mat2x2f(
329
- * vec2f(0, 1), // column 0
330
- * vec2f(1, 2), // column 1
331
- * );
332
- *
333
- * @example
334
- * const buffer = root.createBuffer(d.mat2x2f, d.mat2x2f(0, 1, 2, 3)); // buffer holding a d.mat2x2f value, with an initial value of ((0, 1), (2, 3))
335
- */
336
- declare const mat2x2f: Mat2x2f;
337
- /**
338
- * Schema representing mat3x3f - a matrix with 3 rows and 3 columns, with elements of type f32.
339
- * Also a constructor function for this matrix type.
340
- *
341
- * @example
342
- * const zero3x3 = mat3x3f(); // filled with zeros
343
- *
344
- * @example
345
- * const mat = mat3x3f(0, 1, 2, 3, 4, 5, 6, 7, 8);
346
- * mat.columns[0] // vec3f(0, 1, 2)
347
- * mat.columns[1] // vec3f(3, 4, 5)
348
- * mat.columns[2] // vec3f(6, 7, 8)
349
- *
350
- * @example
351
- * const mat = mat3x3f(
352
- * vec3f(0, 1, 2), // column 0
353
- * vec3f(2, 3, 4), // column 1
354
- * vec3f(5, 6, 7), // column 2
355
- * );
356
- *
357
- * @example
358
- * const buffer = root.createBuffer(d.mat3x3f, d.mat3x3f()); // buffer holding a d.mat3x3f value, with an initial value of mat3x3f filled with zeros
359
- */
360
- declare const mat3x3f: Mat3x3f;
361
- /**
362
- * Schema representing mat4x4f - a matrix with 4 rows and 4 columns, with elements of type f32.
363
- * Also a constructor function for this matrix type.
364
- *
365
- * @example
366
- * const zero4x4 = mat4x4f(); // filled with zeros
367
- *
368
- * @example
369
- * const mat = mat4x4f(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
370
- * mat.columns[0] // vec4f(0, 1, 2, 3)
371
- * mat.columns[1] // vec4f(4, 5, 6, 7)
372
- * mat.columns[2] // vec4f(8, 9, 10, 11)
373
- * mat.columns[3] // vec4f(12, 13, 14, 15)
374
- *
375
- * @example
376
- * const mat = mat4x4f(
377
- * vec4f(0, 1, 2, 3), // column 0
378
- * vec4f(4, 5, 6, 7), // column 1
379
- * vec4f(8, 9, 10, 11), // column 2
380
- * vec4f(12, 13, 14, 15), // column 3
381
- * );
382
- *
383
- * @example
384
- * const buffer = root.createBuffer(d.mat4x4f, d.mat4x4f()); // buffer holding a d.mat4x4f value, with an initial value of mat4x4f filled with zeros
385
- */
386
- declare const mat4x4f: Mat4x4f;
387
- declare function matToArray(mat: m2x2f | m3x3f | m4x4f): number[];
388
-
389
316
  /**
390
317
  * Marks a concrete integer scalar type schema (u32 or i32) as a WGSL atomic.
391
318
  *
@@ -407,4 +334,4 @@ declare function PUBLIC_sizeOf(schema: AnyData): number;
407
334
  */
408
335
  declare function PUBLIC_alignmentOf(schema: AnyData): number;
409
336
 
410
- export { AnyData, AnyWgslData, Atomic, BaseData, BaseData as BaseWgslData, Bool, Disarray, F16, F32, I32, Mat2x2f, Mat3x3f, Mat4x4f, Ptr, U32, Unstruct, Vec2b, Vec2f, Vec2h, Vec2i, Vec2u, Vec3b, Vec3f, Vec3h, Vec3i, Vec3u, Vec4b, Vec4f, Vec4h, Vec4i, Vec4u, WgslArray, WgslStruct, PUBLIC_alignmentOf as alignmentOf, arrayOf, atomic, bool, disarrayOf, f16, f32, i32, m2x2f, m3x3f, m4x4f, mat2x2f, mat3x3f, mat4x4f, matToArray, ptrFn, ptrHandle, ptrPrivate, ptrStorage, ptrUniform, ptrWorkgroup, PUBLIC_sizeOf as sizeOf, struct, u32, unstruct, vec2b, vec2f, vec2h, vec2i, vec2u, vec3b, vec3f, vec3h, vec3i, vec3u, vec4b, vec4f, vec4h, vec4i, vec4u };
337
+ export { AnyData, AnyWgslData, Atomic, BaseData, BaseData as BaseWgslData, Bool, Disarray, F16, F32, I32, Ptr, U32, Unstruct, Vec2b, Vec2f, Vec2h, Vec2i, Vec2u, Vec3b, Vec3f, Vec3h, Vec3i, Vec3u, Vec4b, Vec4f, Vec4h, Vec4i, Vec4u, WgslArray, WgslStruct, PUBLIC_alignmentOf as alignmentOf, arrayOf, atomic, bool, disarrayOf, f16, f32, i32, ptrFn, ptrHandle, ptrPrivate, ptrStorage, ptrUniform, ptrWorkgroup, PUBLIC_sizeOf as sizeOf, struct, u32, unstruct, vec2b, vec2f, vec2h, vec2i, vec2u, vec3b, vec3f, vec3h, vec3i, vec3u, vec4b, vec4f, vec4h, vec4i, vec4u };
package/data/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{A as $,B as aa,C as ba,D as ca,E as da,F as ea,G as fa,H as ga,I as ha,J as ia,K as ja,L as ka,M as la,N as ma,O as na,P as oa,Q as pa,R as qa,S as ra,T as sa,U as ta,V as ua,W as va,X as wa,Y as xa,Z as ya,aa as za,ca as Aa,d as l,da as Ba,e as m,ea as Ga,f as n,fa as Ha,g as o,ga as Ia,ha as Ja,i as p,ia as Ka,j as K,k as L,ka as La,l as M,la as Sa,m as N,ma as Ta,n as O,na as Ua,o as P,oa as Va,p as Q,q as R,r as S,s as T,t as U,u as V,v as W,w as X,x as Y,y as Z,z as _}from"../chunk-SMTSXYNG.js";import{$ as B,A as a,B as b,C as c,D as d,E as e,F as f,G as g,H as h,I as i,J as j,K as k,Q as q,R as r,S as s,T as t,U as u,V as v,W as w,X as x,Y as y,Z as z,_ as A,aa as C,ba as D,ca as E,da as F,ea as G,fa as H,ga as I,ha as J,ja as Ca,ka as Da,la as Ea,ma as Fa,na as Ma,oa as Na,pa as Oa,qa as Pa,ra as Qa,sa as Ra}from"../chunk-5RYM4COI.js";export{Ga as align,za as alignmentOf,Ba as arrayOf,Ua as atomic,q as bool,Va as builtin,Sa as disarrayOf,u as f16,t as f32,ia as float16,ja as float16x2,ka as float16x4,la as float32,ma as float32x2,na as float32x3,oa as float32x4,K as formatToWGSLType,s as i32,Ja as interpolate,f as isAlignAttrib,e as isAtomic,Ka as isBuiltin,j as isBuiltinAttrib,p as isData,k as isDecorated,m as isDisarray,i as isInterpolateAttrib,h as isLocationAttrib,l as isLooseData,o as isLooseDecorated,d as isPtr,g as isSizeAttrib,n as isUnstruct,b as isWgslArray,a as isWgslData,c as isWgslStruct,Ia as location,Ca as mat2x2f,Da as mat3x3f,Ea as mat4x4f,Fa as matToArray,L as packedFormats,Ma as ptrFn,Ra as ptrHandle,Na as ptrPrivate,Pa as ptrStorage,Qa as ptrUniform,Oa as ptrWorkgroup,$ as sint16,aa as sint16x2,ba as sint16x4,ta as sint32,ua as sint32x2,va as sint32x3,wa as sint32x4,P as sint8,Q as sint8x2,R as sint8x4,Ha as size,Aa as sizeOf,fa as snorm16,ga as snorm16x2,ha as snorm16x4,V as snorm8,W as snorm8x2,X as snorm8x4,La as struct,r as u32,Y as uint16,Z as uint16x2,_ as uint16x4,pa as uint32,qa as uint32x2,ra as uint32x3,sa as uint32x4,M as uint8,N as uint8x2,O as uint8x4,xa as unorm10_10_10_2,ca as unorm16,da as unorm16x2,ea as unorm16x4,S as unorm8,T as unorm8x2,U as unorm8x4,ya as unorm8x4_bgra,Ta as unstruct,z as vec2b,v as vec2f,w as vec2h,x as vec2i,y as vec2u,E as vec3b,A as vec3f,B as vec3h,C as vec3i,D as vec3u,J as vec4b,F as vec4f,G as vec4h,H as vec4i,I as vec4u};
1
+ import{$ as Ka,A as ia,B as ja,C as ka,D as la,E as ma,F as na,G as oa,H as pa,I as qa,J as ra,K as sa,L as ta,M as ua,N as va,O as wa,P as xa,Q as ya,R as za,U as Aa,W as Ba,X as Ca,Y as Ha,Z as Ia,_ as Ja,aa as La,b as L,c as M,ca as Ma,d as N,da as Ta,e as O,ea as Ua,f as P,fa as Va,g as Q,ga as Wa,h as R,i as S,j as T,k as U,l as V,m as W,n as X,o as Y,p as Z,q as _,r as $,s as aa,t as ba,u as ca,v as da,w as ea,x as fa,y as ga,z as ha}from"../chunk-734H4JWF.js";import{A as a,Aa as I,Ba as J,Ca as K,K as b,L as c,M as d,Ma as Da,N as e,Na as Ea,O as f,Oa as Fa,P as g,Pa as Ga,Q as h,Qa as Na,R as i,Ra as Oa,S as j,Sa as Pa,T as k,Ta as Qa,U as l,Ua as Ra,Va as Sa,W as m,X as n,Y as o,Z as p,ba as q,ja as r,ka as s,la as t,ma as u,na as v,oa as w,pa as x,qa as y,ra as z,sa as A,ta as B,ua as C,va as D,wa as E,xa as F,ya as G,za as H}from"../chunk-SWJVYRFM.js";export{a as Void,Ha as align,Aa as alignmentOf,Ca as arrayOf,Va as atomic,r as bool,Wa as builtin,Ta as disarrayOf,v as f16,u as f32,ja as float16,ka as float16x2,la as float16x4,ma as float32,na as float32x2,oa as float32x3,pa as float32x4,L as formatToWGSLType,t as i32,Ka as interpolate,g as isAlignAttrib,f as isAtomic,La as isBuiltin,k as isBuiltinAttrib,q as isData,l as isDecorated,n as isDisarray,j as isInterpolateAttrib,i as isLocationAttrib,m as isLooseData,p as isLooseDecorated,e as isPtr,h as isSizeAttrib,o as isUnstruct,c as isWgslArray,b as isWgslData,d as isWgslStruct,Ja as location,Da as mat2x2f,Ea as mat3x3f,Fa as mat4x4f,Ga as matToArray,M as packedFormats,Na as ptrFn,Sa as ptrHandle,Oa as ptrPrivate,Qa as ptrStorage,Ra as ptrUniform,Pa as ptrWorkgroup,aa as sint16,ba as sint16x2,ca as sint16x4,ua as sint32,va as sint32x2,wa as sint32x3,xa as sint32x4,Q as sint8,R as sint8x2,S as sint8x4,Ia as size,Ba as sizeOf,ga as snorm16,ha as snorm16x2,ia as snorm16x4,W as snorm8,X as snorm8x2,Y as snorm8x4,Ma as struct,s as u32,Z as uint16,_ as uint16x2,$ as uint16x4,qa as uint32,ra as uint32x2,sa as uint32x3,ta as uint32x4,N as uint8,O as uint8x2,P as uint8x4,ya as unorm10_10_10_2,da as unorm16,ea as unorm16x2,fa as unorm16x4,T as unorm8,U as unorm8x2,V as unorm8x4,za as unorm8x4_bgra,Ua as unstruct,A as vec2b,w as vec2f,x as vec2h,y as vec2i,z as vec2u,F as vec3b,B as vec3f,C as vec3h,D as vec3i,E as vec3u,K as vec4b,G as vec4f,H as vec4h,I as vec4i,J as vec4u};
2
2
  //# sourceMappingURL=index.js.map