typegpu 0.3.3 → 0.4.0
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/attributes-BQuRnaZ4.d.ts +151 -0
- package/attributes-Bt2NG-9a.d.cts +151 -0
- package/chunk-LF344PKG.cjs +4 -0
- package/chunk-LF344PKG.cjs.map +1 -0
- package/chunk-SDSDWWKW.js +2 -0
- package/chunk-SDSDWWKW.js.map +1 -0
- package/chunk-Y2M5GYRO.cjs +2 -0
- package/chunk-Y2M5GYRO.cjs.map +1 -0
- package/chunk-YLI4IK35.js +4 -0
- package/chunk-YLI4IK35.js.map +1 -0
- package/data/index.cjs +1 -192
- package/data/index.d.cts +209 -2
- package/data/index.d.ts +209 -2
- package/data/index.js +1 -192
- package/index.cjs +18 -4269
- package/index.cjs.map +1 -1
- package/index.d.cts +146 -133
- package/index.d.ts +146 -133
- package/index.js +18 -4269
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/std/index.cjs +1 -490
- package/std/index.cjs.map +1 -1
- package/std/index.d.cts +10 -3
- package/std/index.d.ts +10 -3
- package/std/index.js +1 -490
- package/std/index.js.map +1 -1
- package/vector-CeDeofzh.d.ts +176 -0
- package/vector-UFYwud47.d.cts +176 -0
- package/{vector-CDD2FV2v.d.cts → wgslTypes-BNsjCP--.d.cts} +477 -260
- package/{vector-CDD2FV2v.d.ts → wgslTypes-BNsjCP--.d.ts} +477 -260
- package/chunk-2CMWQRQC.cjs +0 -2
- package/chunk-2CMWQRQC.cjs.map +0 -1
- package/chunk-2ZAQFPSX.js +0 -1266
- package/chunk-2ZAQFPSX.js.map +0 -1
- package/chunk-35UVS2JJ.cjs +0 -591
- package/chunk-35UVS2JJ.cjs.map +0 -1
- package/chunk-A2QB4MSZ.js +0 -4
- package/chunk-A2QB4MSZ.js.map +0 -1
- package/chunk-CMYXKKUP.cjs +0 -1266
- package/chunk-CMYXKKUP.cjs.map +0 -1
- package/chunk-DDEF2Y4S.js +0 -591
- package/chunk-DDEF2Y4S.js.map +0 -1
- package/chunk-KYBPSQX5.js +0 -2
- package/chunk-KYBPSQX5.js.map +0 -1
- package/chunk-VRYGOFCW.cjs +0 -4
- package/chunk-VRYGOFCW.cjs.map +0 -1
- package/index-CuzbyKXg.d.cts +0 -751
- package/index-FHKuURMs.d.ts +0 -751
package/data/index.d.ts
CHANGED
@@ -1,2 +1,209 @@
|
|
1
|
-
|
2
|
-
export {
|
1
|
+
import { G as Bool, U as U32, b as I32, F as F32, a as F16, A as AnyWgslData, W as WgslArray, v as AnyData, H as PtrFn, q as Disarray, B as BaseData, r as Unstruct, J as Mat2x2f, N as Mat3x3f, Q as Mat4x4f, R as m2x2f, S as m3x3f, X as m4x4f, Y as Atomic } from '../wgslTypes-BNsjCP--.js';
|
2
|
+
export { a9 as Align, an as AnyLooseData, aa as Builtin, D as Decorated, at as FormatToWGSLType, I as Infer, ab as Interpolate, L as Location, am as LooseDecorated, ba as PackedData, a8 as Size, au as TgpuVertexFormatData, V as Vec2f, e as Vec2h, h as Vec2i, k as Vec2u, c as Vec3f, f as Vec3h, i as Vec3i, l as Vec3u, d as Vec4f, g as Vec4h, j as Vec4i, m as Vec4u, w as WgslStruct, aV as float16, aW as float16x2, aX as float16x4, aY as float32, aZ as float32x2, a_ as float32x3, a$ as float32x4, av as formatToWGSLType, a3 as isAlignAttrib, a1 as isAtomic, a4 as isBuiltinAttrib, ar as isData, a2 as isDecorated, ao as isDisarray, a6 as isInterpolateAttrib, a5 as isLocationAttrib, as as isLooseData, aq as isLooseDecorated, a0 as isPtrFn, a7 as isSizeAttrib, ap as isUnstruct, _ as isWgslArray, Z as isWgslData, $ as isWgslStruct, aw as packedFormats, aM as sint16, aN as sint16x2, aO as sint16x4, b4 as sint32, b5 as sint32x2, b6 as sint32x3, b7 as sint32x4, aA as sint8, aB as sint8x2, aC as sint8x4, aS as snorm16, aT as snorm16x2, aU as snorm16x4, aG as snorm8, aH as snorm8x2, aI as snorm8x4, al as struct, aJ as uint16, aK as uint16x2, aL as uint16x4, b0 as uint32, b1 as uint32x2, b2 as uint32x3, b3 as uint32x4, ax as uint8, ay as uint8x2, az as uint8x4, b8 as unorm10_10_10_2, aP as unorm16, aQ as unorm16x2, aR as unorm16x4, aD as unorm8, aE as unorm8x2, aF as unorm8x4, b9 as unorm8x4_bgra, ac as v2f, ad as v2i, ae as v2u, af as v3f, ag as v3i, ah as v3u, ai as v4f, aj as v4i, ak as v4u } from '../wgslTypes-BNsjCP--.js';
|
3
|
+
export { v as vec2f, a as vec2h, b as vec2i, c as vec2u, d as vec3f, e as vec3h, f as vec3i, g as vec3u, h as vec4f, i as vec4h, j as vec4i, k as vec4u } from '../vector-CeDeofzh.js';
|
4
|
+
export { A as AnyAttribute, t as AnyBuiltin, j as BuiltinClipDistances, b as BuiltinFragDepth, k as BuiltinFrontFacing, p as BuiltinGlobalInvocationId, g as BuiltinInstanceIndex, n as BuiltinLocalInvocationId, o as BuiltinLocalInvocationIndex, r as BuiltinNumWorkgroups, h as BuiltinPosition, m as BuiltinSampleIndex, B as BuiltinSampleMask, f as BuiltinVertexIndex, q as BuiltinWorkgroupId, H as HasCustomLocation, I as IsBuiltin, c as align, e as builtin, i as interpolate, d as isBuiltin, l as location, s as size } from '../attributes-BQuRnaZ4.js';
|
5
|
+
|
6
|
+
/**
|
7
|
+
* A schema that represents a boolean value. (equivalent to `bool` in WGSL)
|
8
|
+
*/
|
9
|
+
declare const bool: Bool;
|
10
|
+
/**
|
11
|
+
* A schema that represents an unsigned 32-bit integer value. (equivalent to `u32` in WGSL)
|
12
|
+
*
|
13
|
+
* Can also be called to cast a value to an u32 in accordance with WGSL casting rules.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* const value = u32(3.14); // 3
|
17
|
+
* @example
|
18
|
+
* const value = u32(-1); // 4294967295
|
19
|
+
* @example
|
20
|
+
* const value = u32(-3.1); // 0
|
21
|
+
*/
|
22
|
+
declare const u32: U32;
|
23
|
+
/**
|
24
|
+
* A schema that represents a signed 32-bit integer value. (equivalent to `i32` in WGSL)
|
25
|
+
*
|
26
|
+
* Can also be called to cast a value to an i32 in accordance with WGSL casting rules.
|
27
|
+
*
|
28
|
+
* @example
|
29
|
+
* const value = i32(3.14); // 3
|
30
|
+
* @example
|
31
|
+
* const value = i32(-3.9); // -3
|
32
|
+
* @example
|
33
|
+
* const value = i32(10000000000) // 1410065408
|
34
|
+
*/
|
35
|
+
declare const i32: I32;
|
36
|
+
/**
|
37
|
+
* A schema that represents a 32-bit float value. (equivalent to `f32` in WGSL)
|
38
|
+
*
|
39
|
+
* Can also be called to cast a value to an f32.
|
40
|
+
*
|
41
|
+
* @example
|
42
|
+
* const value = f32(true); // 1
|
43
|
+
*/
|
44
|
+
declare const f32: F32;
|
45
|
+
/**
|
46
|
+
* A schema that represents a 16-bit float value. (equivalent to `f16` in WGSL)
|
47
|
+
*
|
48
|
+
* Can also be called to cast a value to an f16.
|
49
|
+
*
|
50
|
+
* @example
|
51
|
+
* const value = f16(true); // 1
|
52
|
+
* @example
|
53
|
+
* const value = f16(21877.5); // 21872
|
54
|
+
*/
|
55
|
+
declare const f16: F16;
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Creates an array schema that can be used to construct gpu buffers.
|
59
|
+
* Describes arrays with fixed-size length, storing elements of the same type.
|
60
|
+
*
|
61
|
+
* @example
|
62
|
+
* const LENGTH = 3;
|
63
|
+
* const array = d.arrayOf(d.u32, LENGTH);
|
64
|
+
*
|
65
|
+
* @param elementType The type of elements in the array.
|
66
|
+
* @param elementCount The number of elements in the array.
|
67
|
+
*/
|
68
|
+
declare function arrayOf<TElement extends AnyWgslData>(elementType: TElement, elementCount: number): WgslArray<TElement>;
|
69
|
+
|
70
|
+
declare function ptrFn<T extends AnyData>(inner: T): PtrFn<T>;
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Creates an array schema that can be used to construct vertex buffers.
|
74
|
+
* Describes arrays with fixed-size length, storing elements of the same type.
|
75
|
+
*
|
76
|
+
* Elements in the schema are not aligned in respect to their `byteAlignment`,
|
77
|
+
* unless they are explicitly decorated with the custom align attribute
|
78
|
+
* via `d.align` function.
|
79
|
+
*
|
80
|
+
* @example
|
81
|
+
* const disarray = d.disarrayOf(d.vec3f, 3); // packed array of vec3f
|
82
|
+
*
|
83
|
+
* @example
|
84
|
+
* const disarray = d.disarrayOf(d.align(16, d.vec3f), 3);
|
85
|
+
*
|
86
|
+
* @param elementType The type of elements in the array.
|
87
|
+
* @param count The number of elements in the array.
|
88
|
+
*/
|
89
|
+
declare function disarrayOf<TElement extends AnyData>(elementType: TElement, count: number): Disarray<TElement>;
|
90
|
+
|
91
|
+
/**
|
92
|
+
* Creates a loose struct schema that can be used to construct vertex buffers.
|
93
|
+
* Describes structs with members of both loose and non-loose types.
|
94
|
+
*
|
95
|
+
* The order of members matches the passed in properties object.
|
96
|
+
* Members are not aligned in respect to their `byteAlignment`,
|
97
|
+
* unless they are explicitly decorated with the custom align attribute
|
98
|
+
* via `d.align` function.
|
99
|
+
*
|
100
|
+
* @example
|
101
|
+
* const CircleStruct = d.unstruct({ radius: d.f32, pos: d.vec3f }); // packed struct with no padding
|
102
|
+
*
|
103
|
+
* @example
|
104
|
+
* const CircleStruct = d.unstruct({ radius: d.f32, pos: d.align(16, d.vec3f) });
|
105
|
+
*
|
106
|
+
* @param properties Record with `string` keys and `TgpuData` or `TgpuLooseData` values,
|
107
|
+
* each entry describing one struct member.
|
108
|
+
*/
|
109
|
+
declare function unstruct<TProps extends Record<string, BaseData>>(properties: TProps): Unstruct<TProps>;
|
110
|
+
|
111
|
+
/**
|
112
|
+
*
|
113
|
+
* Schema representing mat2x2f - a matrix with 2 rows and 2 columns, with elements of type f32.
|
114
|
+
* Also a constructor function for this matrix type.
|
115
|
+
*
|
116
|
+
* @example
|
117
|
+
* const zero2x2 = mat2x2f(); // filled with zeros
|
118
|
+
*
|
119
|
+
* @example
|
120
|
+
* const mat = mat2x2f(0, 1, 2, 3);
|
121
|
+
* mat.columns[0] // vec2f(0, 1)
|
122
|
+
* mat.columns[1] // vec2f(2, 3)
|
123
|
+
*
|
124
|
+
* @example
|
125
|
+
* const mat = mat2x2f(
|
126
|
+
* vec2f(0, 1), // column 0
|
127
|
+
* vec2f(1, 2), // column 1
|
128
|
+
* );
|
129
|
+
*
|
130
|
+
* @example
|
131
|
+
* 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))
|
132
|
+
*/
|
133
|
+
declare const mat2x2f: Mat2x2f;
|
134
|
+
/**
|
135
|
+
*
|
136
|
+
* Schema representing mat3x3f - a matrix with 3 rows and 3 columns, with elements of type f32.
|
137
|
+
* Also a constructor function for this matrix type.
|
138
|
+
*
|
139
|
+
* @example
|
140
|
+
* const zero3x3 = mat3x3f(); // filled with zeros
|
141
|
+
*
|
142
|
+
* @example
|
143
|
+
* const mat = mat3x3f(0, 1, 2, 3, 4, 5, 6, 7, 8);
|
144
|
+
* mat.columns[0] // vec3f(0, 1, 2)
|
145
|
+
* mat.columns[1] // vec3f(3, 4, 5)
|
146
|
+
* mat.columns[2] // vec3f(6, 7, 8)
|
147
|
+
*
|
148
|
+
* @example
|
149
|
+
* const mat = mat3x3f(
|
150
|
+
* vec3f(0, 1, 2), // column 0
|
151
|
+
* vec3f(2, 3, 4), // column 1
|
152
|
+
* vec3f(5, 6, 7), // column 2
|
153
|
+
* );
|
154
|
+
*
|
155
|
+
* @example
|
156
|
+
* const buffer = root.createBuffer(d.mat3x3f, d.mat3x3f()); // buffer holding a d.mat3x3f value, with an initial value of mat3x3f filled with zeros
|
157
|
+
*/
|
158
|
+
declare const mat3x3f: Mat3x3f;
|
159
|
+
/**
|
160
|
+
*
|
161
|
+
* Schema representing mat4x4f - a matrix with 4 rows and 4 columns, with elements of type f32.
|
162
|
+
* Also a constructor function for this matrix type.
|
163
|
+
*
|
164
|
+
* @example
|
165
|
+
* const zero4x4 = mat4x4f(); // filled with zeros
|
166
|
+
*
|
167
|
+
* @example
|
168
|
+
* const mat = mat3x3f(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
|
169
|
+
* mat.columns[0] // vec4f(0, 1, 2, 3)
|
170
|
+
* mat.columns[1] // vec4f(4, 5, 6, 7)
|
171
|
+
* mat.columns[2] // vec4f(8, 9, 10, 11)
|
172
|
+
* mat.columns[3] // vec4f(12, 13, 14, 15)
|
173
|
+
*
|
174
|
+
* @example
|
175
|
+
* const mat = mat3x3f(
|
176
|
+
* vec4f(0, 1, 2, 3), // column 0
|
177
|
+
* vec4f(4, 5, 6, 7), // column 1
|
178
|
+
* vec4f(8, 9, 10, 11), // column 2
|
179
|
+
* vec4f(12, 13, 14, 15), // column 3
|
180
|
+
* );
|
181
|
+
*
|
182
|
+
* @example
|
183
|
+
* const buffer = root.createBuffer(d.mat4x4f, d.mat4x4f()); // buffer holding a d.mat4x4f value, with an initial value of mat4x4f filled with zeros
|
184
|
+
*/
|
185
|
+
declare const mat4x4f: Mat4x4f;
|
186
|
+
declare function matToArray(mat: m2x2f | m3x3f | m4x4f): number[];
|
187
|
+
|
188
|
+
/**
|
189
|
+
* Marks a concrete integer scalar type schema (u32 or i32) as a WGSL atomic.
|
190
|
+
*
|
191
|
+
* @example
|
192
|
+
* const atomicU32 = d.atomic(d.u32);
|
193
|
+
* const atomicI32 = d.atomic(d.i32);
|
194
|
+
*
|
195
|
+
* @param data Underlying type schema.
|
196
|
+
*/
|
197
|
+
declare function atomic<TSchema extends U32 | I32>(data: TSchema): Atomic<TSchema>;
|
198
|
+
|
199
|
+
/**
|
200
|
+
* Returns the size (in bytes) of data represented by the `schema`.
|
201
|
+
*/
|
202
|
+
declare function PUBLIC_sizeOf(schema: AnyData): number;
|
203
|
+
|
204
|
+
/**
|
205
|
+
* Returns the alignment (in bytes) of data represented by the `schema`.
|
206
|
+
*/
|
207
|
+
declare function PUBLIC_alignmentOf(schema: AnyData): number;
|
208
|
+
|
209
|
+
export { AnyData, AnyWgslData, Atomic, BaseData, BaseData as BaseWgslData, Bool, Disarray, F16, F32, I32, Mat2x2f, Mat3x3f, Mat4x4f, PtrFn, U32, Unstruct, WgslArray, PUBLIC_alignmentOf as alignmentOf, arrayOf, atomic, bool, disarrayOf, f16, f32, i32, m2x2f, m3x3f, m4x4f, mat2x2f, mat3x3f, mat4x4f, matToArray, ptrFn, PUBLIC_sizeOf as sizeOf, u32, unstruct };
|
package/data/index.js
CHANGED
@@ -1,193 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
PUBLIC_alignmentOf,
|
3
|
-
PUBLIC_sizeOf,
|
4
|
-
align,
|
5
|
-
arrayOf,
|
6
|
-
atomic,
|
7
|
-
bool,
|
8
|
-
builtin,
|
9
|
-
disarrayOf,
|
10
|
-
f16,
|
11
|
-
f32,
|
12
|
-
float16,
|
13
|
-
float16x2,
|
14
|
-
float16x4,
|
15
|
-
float32,
|
16
|
-
float32x2,
|
17
|
-
float32x3,
|
18
|
-
float32x4,
|
19
|
-
i32,
|
20
|
-
interpolate,
|
21
|
-
isAlignAttrib,
|
22
|
-
isAtomic,
|
23
|
-
isBuiltin,
|
24
|
-
isBuiltinAttrib,
|
25
|
-
isData,
|
26
|
-
isDecorated,
|
27
|
-
isDisarray,
|
28
|
-
isInterpolateAttrib,
|
29
|
-
isLocationAttrib,
|
30
|
-
isLooseData,
|
31
|
-
isLooseDecorated,
|
32
|
-
isPtrFn,
|
33
|
-
isSizeAttrib,
|
34
|
-
isUnstruct,
|
35
|
-
isWgslArray,
|
36
|
-
isWgslData,
|
37
|
-
isWgslStruct,
|
38
|
-
location,
|
39
|
-
mat2x2f,
|
40
|
-
mat3x3f,
|
41
|
-
mat4x4f,
|
42
|
-
matToArray,
|
43
|
-
packedFormats,
|
44
|
-
ptrFn,
|
45
|
-
sint16,
|
46
|
-
sint16x2,
|
47
|
-
sint16x4,
|
48
|
-
sint32,
|
49
|
-
sint32x2,
|
50
|
-
sint32x3,
|
51
|
-
sint32x4,
|
52
|
-
sint8,
|
53
|
-
sint8x2,
|
54
|
-
sint8x4,
|
55
|
-
size,
|
56
|
-
snorm16,
|
57
|
-
snorm16x2,
|
58
|
-
snorm16x4,
|
59
|
-
snorm8,
|
60
|
-
snorm8x2,
|
61
|
-
snorm8x4,
|
62
|
-
struct,
|
63
|
-
u32,
|
64
|
-
uint16,
|
65
|
-
uint16x2,
|
66
|
-
uint16x4,
|
67
|
-
uint32,
|
68
|
-
uint32x2,
|
69
|
-
uint32x3,
|
70
|
-
uint32x4,
|
71
|
-
uint8,
|
72
|
-
uint8x2,
|
73
|
-
uint8x4,
|
74
|
-
unorm10_10_10_2,
|
75
|
-
unorm16,
|
76
|
-
unorm16x2,
|
77
|
-
unorm16x4,
|
78
|
-
unorm8,
|
79
|
-
unorm8x2,
|
80
|
-
unorm8x4,
|
81
|
-
unorm8x4_bgra,
|
82
|
-
unstruct
|
83
|
-
} from "../chunk-2ZAQFPSX.js";
|
84
|
-
import {
|
85
|
-
vec2f,
|
86
|
-
vec2h,
|
87
|
-
vec2i,
|
88
|
-
vec2u,
|
89
|
-
vec3f,
|
90
|
-
vec3h,
|
91
|
-
vec3i,
|
92
|
-
vec3u,
|
93
|
-
vec4f,
|
94
|
-
vec4h,
|
95
|
-
vec4i,
|
96
|
-
vec4u
|
97
|
-
} from "../chunk-DDEF2Y4S.js";
|
98
|
-
export {
|
99
|
-
align,
|
100
|
-
PUBLIC_alignmentOf as alignmentOf,
|
101
|
-
arrayOf,
|
102
|
-
atomic,
|
103
|
-
bool,
|
104
|
-
builtin,
|
105
|
-
disarrayOf,
|
106
|
-
f16,
|
107
|
-
f32,
|
108
|
-
float16,
|
109
|
-
float16x2,
|
110
|
-
float16x4,
|
111
|
-
float32,
|
112
|
-
float32x2,
|
113
|
-
float32x3,
|
114
|
-
float32x4,
|
115
|
-
i32,
|
116
|
-
interpolate,
|
117
|
-
isAlignAttrib,
|
118
|
-
isAtomic,
|
119
|
-
isBuiltin,
|
120
|
-
isBuiltinAttrib,
|
121
|
-
isData,
|
122
|
-
isDecorated,
|
123
|
-
isDisarray,
|
124
|
-
isInterpolateAttrib,
|
125
|
-
isLocationAttrib,
|
126
|
-
isLooseData,
|
127
|
-
isLooseDecorated,
|
128
|
-
isPtrFn,
|
129
|
-
isSizeAttrib,
|
130
|
-
isUnstruct,
|
131
|
-
isWgslArray,
|
132
|
-
isWgslData,
|
133
|
-
isWgslStruct,
|
134
|
-
location,
|
135
|
-
mat2x2f,
|
136
|
-
mat3x3f,
|
137
|
-
mat4x4f,
|
138
|
-
matToArray,
|
139
|
-
packedFormats,
|
140
|
-
ptrFn,
|
141
|
-
sint16,
|
142
|
-
sint16x2,
|
143
|
-
sint16x4,
|
144
|
-
sint32,
|
145
|
-
sint32x2,
|
146
|
-
sint32x3,
|
147
|
-
sint32x4,
|
148
|
-
sint8,
|
149
|
-
sint8x2,
|
150
|
-
sint8x4,
|
151
|
-
size,
|
152
|
-
PUBLIC_sizeOf as sizeOf,
|
153
|
-
snorm16,
|
154
|
-
snorm16x2,
|
155
|
-
snorm16x4,
|
156
|
-
snorm8,
|
157
|
-
snorm8x2,
|
158
|
-
snorm8x4,
|
159
|
-
struct,
|
160
|
-
u32,
|
161
|
-
uint16,
|
162
|
-
uint16x2,
|
163
|
-
uint16x4,
|
164
|
-
uint32,
|
165
|
-
uint32x2,
|
166
|
-
uint32x3,
|
167
|
-
uint32x4,
|
168
|
-
uint8,
|
169
|
-
uint8x2,
|
170
|
-
uint8x4,
|
171
|
-
unorm10_10_10_2,
|
172
|
-
unorm16,
|
173
|
-
unorm16x2,
|
174
|
-
unorm16x4,
|
175
|
-
unorm8,
|
176
|
-
unorm8x2,
|
177
|
-
unorm8x4,
|
178
|
-
unorm8x4_bgra,
|
179
|
-
unstruct,
|
180
|
-
vec2f,
|
181
|
-
vec2h,
|
182
|
-
vec2i,
|
183
|
-
vec2u,
|
184
|
-
vec3f,
|
185
|
-
vec3h,
|
186
|
-
vec3i,
|
187
|
-
vec3u,
|
188
|
-
vec4f,
|
189
|
-
vec4h,
|
190
|
-
vec4i,
|
191
|
-
vec4u
|
192
|
-
};
|
1
|
+
import{$ as ha,A as I,Aa as Ia,B as J,Ba as Ja,C as K,Ca as Ka,D as L,Da as La,E as M,Ea as Ma,F as N,G as O,Ga as Na,H as P,I as Q,J as R,K as S,L as T,M as U,N as V,O as W,P as X,Q as Y,R as Z,S as _,T as $,U as aa,V as ba,W as ca,X as da,Y as ea,Z as fa,_ as ga,a,aa as ia,b,ba as ja,c,ca as ka,d,da as la,e,ea as ma,f,fa as na,g,ga as oa,h,ha as pa,i,ia as qa,j,ja as ra,k,ka as sa,la as ta,ma as ua,n as l,na as va,o as m,oa as wa,p as n,q as o,ra as xa,s as p,t as q,ta as ya,u as r,ua as za,v as s,va as Aa,w as t,wa as Ba,x as u,xa as Ca,y as v,ya as Ha}from"../chunk-SDSDWWKW.js";import{A as Ea,B as Fa,C as Ga,n as w,o as x,p as y,q as z,r as A,s as B,t as C,u as D,v as E,w as F,x as G,y as H,z as Da}from"../chunk-YLI4IK35.js";export{Ia as align,xa as alignmentOf,za as arrayOf,Ha as atomic,q as bool,Na as builtin,Ba as disarrayOf,u as f16,t as f32,ga as float16,ha as float16x2,ia as float16x4,ja as float32,ka as float32x2,la as float32x3,ma as float32x4,I as formatToWGSLType,s as i32,La as interpolate,f as isAlignAttrib,e as isAtomic,Ma 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 isPtrFn,g as isSizeAttrib,n as isUnstruct,b as isWgslArray,a as isWgslData,c as isWgslStruct,Ka as location,Da as mat2x2f,Ea as mat3x3f,Fa as mat4x4f,Ga as matToArray,J as packedFormats,Aa as ptrFn,Z as sint16,_ as sint16x2,$ as sint16x4,ra as sint32,sa as sint32x2,ta as sint32x3,ua as sint32x4,N as sint8,O as sint8x2,P as sint8x4,Ja as size,ya as sizeOf,da as snorm16,ea as snorm16x2,fa as snorm16x4,T as snorm8,U as snorm8x2,V as snorm8x4,v as struct,r as u32,W as uint16,X as uint16x2,Y as uint16x4,na as uint32,oa as uint32x2,pa as uint32x3,qa as uint32x4,K as uint8,L as uint8x2,M as uint8x4,va as unorm10_10_10_2,aa as unorm16,ba as unorm16x2,ca as unorm16x4,Q as unorm8,R as unorm8x2,S as unorm8x4,wa as unorm8x4_bgra,Ca as unstruct,w as vec2f,x as vec2h,y as vec2i,z as vec2u,A as vec3f,B as vec3h,C as vec3i,D as vec3u,E as vec4f,F as vec4h,G as vec4i,H as vec4u};
|
193
2
|
//# sourceMappingURL=index.js.map
|