v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:580
Interface representing its WGSL vector type counterpart: vec4f or vec4
Extends
Section titled “Extends”Indexable
Section titled “Indexable”[n
: number
]: number
Properties
Section titled “Properties”[$internal]
Section titled “[$internal]”
readonly
[$internal]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:582
[unscopables]
Section titled “[unscopables]”
readonly
[unscopables]:object
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:97
Is an object whose properties have the value ‘true’ when they will be absent when used in a ‘with’ statement.
Index Signature
Section titled “Index Signature”[key
: number
]: undefined
| boolean
[iterator]?
Section titled “[iterator]?”
optional
[iterator]:boolean
[unscopables]?
Section titled “[unscopables]?”
readonly
optional
[unscopables]:boolean
Is an object whose properties have the value ‘true’ when they will be absent when used in a ‘with’ statement.
optional
at:boolean
concat?
Section titled “concat?”
optional
concat:boolean
copyWithin?
Section titled “copyWithin?”
optional
copyWithin:boolean
entries?
Section titled “entries?”
optional
entries:boolean
every?
Section titled “every?”
optional
every:boolean
optional
fill:boolean
filter?
Section titled “filter?”
optional
filter:boolean
optional
find:boolean
findIndex?
Section titled “findIndex?”
optional
findIndex:boolean
findLast?
Section titled “findLast?”
optional
findLast:boolean
findLastIndex?
Section titled “findLastIndex?”
optional
findLastIndex:boolean
optional
flat:boolean
flatMap?
Section titled “flatMap?”
optional
flatMap:boolean
forEach?
Section titled “forEach?”
optional
forEach:boolean
includes?
Section titled “includes?”
optional
includes:boolean
indexOf?
Section titled “indexOf?”
optional
indexOf:boolean
optional
join:boolean
optional
keys:boolean
lastIndexOf?
Section titled “lastIndexOf?”
optional
lastIndexOf:boolean
length?
Section titled “length?”
optional
length:boolean
Gets or sets the length of the array. This is a number one higher than the highest index in the array.
optional
map:boolean
optional
pop:boolean
optional
push:boolean
reduce?
Section titled “reduce?”
optional
reduce:boolean
reduceRight?
Section titled “reduceRight?”
optional
reduceRight:boolean
reverse?
Section titled “reverse?”
optional
reverse:boolean
shift?
Section titled “shift?”
optional
shift:boolean
slice?
Section titled “slice?”
optional
slice:boolean
optional
some:boolean
optional
sort:boolean
splice?
Section titled “splice?”
optional
splice:boolean
toLocaleString?
Section titled “toLocaleString?”
optional
toLocaleString:boolean
toReversed?
Section titled “toReversed?”
optional
toReversed:boolean
toSorted?
Section titled “toSorted?”
optional
toSorted:boolean
toSpliced?
Section titled “toSpliced?”
optional
toSpliced:boolean
toString?
Section titled “toString?”
optional
toString:boolean
unshift?
Section titled “unshift?”
optional
unshift:boolean
values?
Section titled “values?”
optional
values:boolean
optional
with:boolean
Inherited from
Section titled “Inherited from”Tuple4.[unscopables]
0:
number
Inherited from
Section titled “Inherited from”Tuple4.0
1:
number
Inherited from
Section titled “Inherited from”Tuple4.1
2:
number
Inherited from
Section titled “Inherited from”Tuple4.2
3:
number
Inherited from
Section titled “Inherited from”Tuple4.3
readonly
kind:"vec4f"
Defined in: packages/typegpu/src/data/wgslTypes.ts:584
use to distinguish between vectors of the same size on the type level
length
Section titled “length”length:
4
Inherited from
Section titled “Inherited from”Tuple4.length
w:
number
Defined in: packages/typegpu/src/data/wgslTypes.ts:588
readonly
ww:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:258
Inherited from
Section titled “Inherited from”Swizzle4.ww
readonly
www:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:290
Inherited from
Section titled “Inherited from”Swizzle4.www
readonly
wwww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:436
Inherited from
Section titled “Inherited from”Swizzle4.wwww
readonly
wwwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:433
Inherited from
Section titled “Inherited from”Swizzle4.wwwx
readonly
wwwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:434
Inherited from
Section titled “Inherited from”Swizzle4.wwwy
readonly
wwwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:435
Inherited from
Section titled “Inherited from”Swizzle4.wwwz
readonly
wwx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:287
Inherited from
Section titled “Inherited from”Swizzle4.wwx
readonly
wwxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:429
Inherited from
Section titled “Inherited from”Swizzle4.wwxw
readonly
wwxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:426
Inherited from
Section titled “Inherited from”Swizzle4.wwxx
readonly
wwxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:427
Inherited from
Section titled “Inherited from”Swizzle4.wwxy
readonly
wwxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:428
Inherited from
Section titled “Inherited from”Swizzle4.wwxz
readonly
wwy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:288
Inherited from
Section titled “Inherited from”Swizzle4.wwy
readonly
wwyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:430
Inherited from
Section titled “Inherited from”Swizzle4.wwyy
readonly
wwyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:431
Inherited from
Section titled “Inherited from”Swizzle4.wwyz
readonly
wwz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:289
Inherited from
Section titled “Inherited from”Swizzle4.wwz
readonly
wwzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:432
Inherited from
Section titled “Inherited from”Swizzle4.wwzz
readonly
wx:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:255
Inherited from
Section titled “Inherited from”Swizzle4.wx
readonly
wxww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:402
Inherited from
Section titled “Inherited from”Swizzle4.wxww
readonly
wxwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:399
Inherited from
Section titled “Inherited from”Swizzle4.wxwx
readonly
wxwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:400
Inherited from
Section titled “Inherited from”Swizzle4.wxwy
readonly
wxwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:401
Inherited from
Section titled “Inherited from”Swizzle4.wxwz
readonly
wxx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:281
Inherited from
Section titled “Inherited from”Swizzle4.wxx
readonly
wxxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:390
Inherited from
Section titled “Inherited from”Swizzle4.wxxw
readonly
wxxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:387
Inherited from
Section titled “Inherited from”Swizzle4.wxxx
readonly
wxxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:388
Inherited from
Section titled “Inherited from”Swizzle4.wxxy
readonly
wxxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:389
Inherited from
Section titled “Inherited from”Swizzle4.wxxz
readonly
wxy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:283
Inherited from
Section titled “Inherited from”Swizzle4.wxy
readonly
wxyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:394
Inherited from
Section titled “Inherited from”Swizzle4.wxyw
readonly
wxyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:391
Inherited from
Section titled “Inherited from”Swizzle4.wxyx
readonly
wxyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:392
Inherited from
Section titled “Inherited from”Swizzle4.wxyy
readonly
wxyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:393
Inherited from
Section titled “Inherited from”Swizzle4.wxyz
readonly
wxz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:282
Inherited from
Section titled “Inherited from”Swizzle4.wxz
readonly
wxzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:398
Inherited from
Section titled “Inherited from”Swizzle4.wxzw
readonly
wxzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:395
Inherited from
Section titled “Inherited from”Swizzle4.wxzx
readonly
wxzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:396
Inherited from
Section titled “Inherited from”Swizzle4.wxzy
readonly
wxzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:397
Inherited from
Section titled “Inherited from”Swizzle4.wxzz
readonly
wy:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:256
Inherited from
Section titled “Inherited from”Swizzle4.wy
readonly
wyww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:413
Inherited from
Section titled “Inherited from”Swizzle4.wyww
readonly
wywx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:410
Inherited from
Section titled “Inherited from”Swizzle4.wywx
readonly
wywy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:411
Inherited from
Section titled “Inherited from”Swizzle4.wywy
readonly
wywz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:412
Inherited from
Section titled “Inherited from”Swizzle4.wywz
readonly
wyxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:406
Inherited from
Section titled “Inherited from”Swizzle4.wyxw
readonly
wyxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:403
Inherited from
Section titled “Inherited from”Swizzle4.wyxx
readonly
wyxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:404
Inherited from
Section titled “Inherited from”Swizzle4.wyxy
readonly
wyxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:405
Inherited from
Section titled “Inherited from”Swizzle4.wyxz
readonly
wyy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:284
Inherited from
Section titled “Inherited from”Swizzle4.wyy
readonly
wyyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:407
Inherited from
Section titled “Inherited from”Swizzle4.wyyy
readonly
wyyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:408
Inherited from
Section titled “Inherited from”Swizzle4.wyyz
readonly
wyz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:285
Inherited from
Section titled “Inherited from”Swizzle4.wyz
readonly
wyzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:409
Inherited from
Section titled “Inherited from”Swizzle4.wyzw
readonly
wz:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:257
Inherited from
Section titled “Inherited from”Swizzle4.wz
readonly
wzww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:425
Inherited from
Section titled “Inherited from”Swizzle4.wzww
readonly
wzwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:422
Inherited from
Section titled “Inherited from”Swizzle4.wzwx
readonly
wzwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:423
Inherited from
Section titled “Inherited from”Swizzle4.wzwy
readonly
wzwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:424
Inherited from
Section titled “Inherited from”Swizzle4.wzwz
readonly
wzxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:417
Inherited from
Section titled “Inherited from”Swizzle4.wzxw
readonly
wzxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:414
Inherited from
Section titled “Inherited from”Swizzle4.wzxx
readonly
wzxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:415
Inherited from
Section titled “Inherited from”Swizzle4.wzxy
readonly
wzxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:416
Inherited from
Section titled “Inherited from”Swizzle4.wzxz
readonly
wzyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:418
Inherited from
Section titled “Inherited from”Swizzle4.wzyy
readonly
wzyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:419
Inherited from
Section titled “Inherited from”Swizzle4.wzyz
readonly
wzz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:286
Inherited from
Section titled “Inherited from”Swizzle4.wzz
readonly
wzzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:421
Inherited from
Section titled “Inherited from”Swizzle4.wzzw
readonly
wzzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:420
Inherited from
Section titled “Inherited from”Swizzle4.wzzy
x:
number
Defined in: packages/typegpu/src/data/wgslTypes.ts:585
readonly
xww:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:266
Inherited from
Section titled “Inherited from”Swizzle4.xww
readonly
xwww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:322
Inherited from
Section titled “Inherited from”Swizzle4.xwww
readonly
xwwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:319
Inherited from
Section titled “Inherited from”Swizzle4.xwwx
readonly
xwwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:320
Inherited from
Section titled “Inherited from”Swizzle4.xwwy
readonly
xwwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:321
Inherited from
Section titled “Inherited from”Swizzle4.xwwz
readonly
xwx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:263
Inherited from
Section titled “Inherited from”Swizzle4.xwx
readonly
xwxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:313
Inherited from
Section titled “Inherited from”Swizzle4.xwxx
readonly
xwxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:314
Inherited from
Section titled “Inherited from”Swizzle4.xwxy
readonly
xwxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:315
Inherited from
Section titled “Inherited from”Swizzle4.xwxz
readonly
xwy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:264
Inherited from
Section titled “Inherited from”Swizzle4.xwy
readonly
xwyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:316
Inherited from
Section titled “Inherited from”Swizzle4.xwyy
readonly
xwyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:317
Inherited from
Section titled “Inherited from”Swizzle4.xwyz
readonly
xwz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:265
Inherited from
Section titled “Inherited from”Swizzle4.xwz
readonly
xwzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:318
Inherited from
Section titled “Inherited from”Swizzle4.xwzz
readonly
xx:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:126
Inherited from
Section titled “Inherited from”Swizzle4.xx
readonly
xxw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:260
Inherited from
Section titled “Inherited from”Swizzle4.xxw
readonly
xxww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:298
Inherited from
Section titled “Inherited from”Swizzle4.xxww
readonly
xxwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:295
Inherited from
Section titled “Inherited from”Swizzle4.xxwx
readonly
xxwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:296
Inherited from
Section titled “Inherited from”Swizzle4.xxwy
readonly
xxwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:297
Inherited from
Section titled “Inherited from”Swizzle4.xxwz
readonly
xxx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:131
Inherited from
Section titled “Inherited from”Swizzle4.xxx
readonly
xxxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:292
Inherited from
Section titled “Inherited from”Swizzle4.xxxw
readonly
xxxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:140
Inherited from
Section titled “Inherited from”Swizzle4.xxxx
readonly
xxxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:141
Inherited from
Section titled “Inherited from”Swizzle4.xxxy
readonly
xxxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:185
Inherited from
Section titled “Inherited from”Swizzle4.xxxz
readonly
xxy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:132
Inherited from
Section titled “Inherited from”Swizzle4.xxy
readonly
xxyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:293
Inherited from
Section titled “Inherited from”Swizzle4.xxyw
readonly
xxyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:142
Inherited from
Section titled “Inherited from”Swizzle4.xxyx
readonly
xxyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:143
Inherited from
Section titled “Inherited from”Swizzle4.xxyy
readonly
xxyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:186
Inherited from
Section titled “Inherited from”Swizzle4.xxyz
readonly
xxz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:165
Inherited from
Section titled “Inherited from”Swizzle4.xxz
readonly
xxzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:294
Inherited from
Section titled “Inherited from”Swizzle4.xxzw
readonly
xxzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:187
Inherited from
Section titled “Inherited from”Swizzle4.xxzx
readonly
xxzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:188
Inherited from
Section titled “Inherited from”Swizzle4.xxzy
readonly
xxzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:189
Inherited from
Section titled “Inherited from”Swizzle4.xxzz
readonly
xy:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:127
Inherited from
Section titled “Inherited from”Swizzle4.xy
readonly
xyw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:261
Inherited from
Section titled “Inherited from”Swizzle4.xyw
readonly
xyww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:305
Inherited from
Section titled “Inherited from”Swizzle4.xyww
readonly
xywx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:302
Inherited from
Section titled “Inherited from”Swizzle4.xywx
readonly
xywy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:303
Inherited from
Section titled “Inherited from”Swizzle4.xywy
readonly
xywz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:304
Inherited from
Section titled “Inherited from”Swizzle4.xywz
readonly
xyx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:133
Inherited from
Section titled “Inherited from”Swizzle4.xyx
readonly
xyxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:299
Inherited from
Section titled “Inherited from”Swizzle4.xyxw
readonly
xyxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:144
Inherited from
Section titled “Inherited from”Swizzle4.xyxx
readonly
xyxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:145
Inherited from
Section titled “Inherited from”Swizzle4.xyxy
readonly
xyxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:190
Inherited from
Section titled “Inherited from”Swizzle4.xyxz
readonly
xyy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:134
Inherited from
Section titled “Inherited from”Swizzle4.xyy
readonly
xyyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:300
Inherited from
Section titled “Inherited from”Swizzle4.xyyw
readonly
xyyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:146
Inherited from
Section titled “Inherited from”Swizzle4.xyyx
readonly
xyyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:147
Inherited from
Section titled “Inherited from”Swizzle4.xyyy
readonly
xyyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:191
Inherited from
Section titled “Inherited from”Swizzle4.xyyz
readonly
xyz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:166
Inherited from
Section titled “Inherited from”Swizzle4.xyz
readonly
xyzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:301
Inherited from
Section titled “Inherited from”Swizzle4.xyzw
readonly
xyzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:192
Inherited from
Section titled “Inherited from”Swizzle4.xyzx
readonly
xyzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:193
Inherited from
Section titled “Inherited from”Swizzle4.xyzy
readonly
xyzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:194
Inherited from
Section titled “Inherited from”Swizzle4.xyzz
readonly
xz:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:159
Inherited from
Section titled “Inherited from”Swizzle4.xz
readonly
xzw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:262
Inherited from
Section titled “Inherited from”Swizzle4.xzw
readonly
xzww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:312
Inherited from
Section titled “Inherited from”Swizzle4.xzww
readonly
xzwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:309
Inherited from
Section titled “Inherited from”Swizzle4.xzwx
readonly
xzwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:310
Inherited from
Section titled “Inherited from”Swizzle4.xzwy
readonly
xzwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:311
Inherited from
Section titled “Inherited from”Swizzle4.xzwz
readonly
xzx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:167
Inherited from
Section titled “Inherited from”Swizzle4.xzx
readonly
xzxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:306
Inherited from
Section titled “Inherited from”Swizzle4.xzxw
readonly
xzxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:195
Inherited from
Section titled “Inherited from”Swizzle4.xzxx
readonly
xzxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:196
Inherited from
Section titled “Inherited from”Swizzle4.xzxy
readonly
xzxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:197
Inherited from
Section titled “Inherited from”Swizzle4.xzxz
readonly
xzy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:168
Inherited from
Section titled “Inherited from”Swizzle4.xzy
readonly
xzyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:307
Inherited from
Section titled “Inherited from”Swizzle4.xzyw
readonly
xzyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:198
Inherited from
Section titled “Inherited from”Swizzle4.xzyx
readonly
xzyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:199
Inherited from
Section titled “Inherited from”Swizzle4.xzyy
readonly
xzyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:200
Inherited from
Section titled “Inherited from”Swizzle4.xzyz
readonly
xzz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:169
Inherited from
Section titled “Inherited from”Swizzle4.xzz
readonly
xzzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:308
Inherited from
Section titled “Inherited from”Swizzle4.xzzw
readonly
xzzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:201
Inherited from
Section titled “Inherited from”Swizzle4.xzzx
readonly
xzzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:202
Inherited from
Section titled “Inherited from”Swizzle4.xzzy
readonly
xzzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:203
Inherited from
Section titled “Inherited from”Swizzle4.xzzz
y:
number
Defined in: packages/typegpu/src/data/wgslTypes.ts:586
readonly
yw:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:253
Inherited from
Section titled “Inherited from”Swizzle4.yw
readonly
yww:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:273
Inherited from
Section titled “Inherited from”Swizzle4.yww
readonly
ywww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:354
Inherited from
Section titled “Inherited from”Swizzle4.ywww
readonly
ywwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:351
Inherited from
Section titled “Inherited from”Swizzle4.ywwx
readonly
ywwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:352
Inherited from
Section titled “Inherited from”Swizzle4.ywwy
readonly
ywwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:353
Inherited from
Section titled “Inherited from”Swizzle4.ywwz
readonly
ywx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:270
Inherited from
Section titled “Inherited from”Swizzle4.ywx
readonly
ywxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:347
Inherited from
Section titled “Inherited from”Swizzle4.ywxw
readonly
ywxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:344
Inherited from
Section titled “Inherited from”Swizzle4.ywxx
readonly
ywxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:345
Inherited from
Section titled “Inherited from”Swizzle4.ywxy
readonly
ywxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:346
Inherited from
Section titled “Inherited from”Swizzle4.ywxz
readonly
ywy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:271
Inherited from
Section titled “Inherited from”Swizzle4.ywy
readonly
ywyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:348
Inherited from
Section titled “Inherited from”Swizzle4.ywyy
readonly
ywyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:349
Inherited from
Section titled “Inherited from”Swizzle4.ywyz
readonly
ywz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:272
Inherited from
Section titled “Inherited from”Swizzle4.ywz
readonly
ywzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:350
Inherited from
Section titled “Inherited from”Swizzle4.ywzz
readonly
yx:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:128
Inherited from
Section titled “Inherited from”Swizzle4.yx
readonly
yxw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:267
Inherited from
Section titled “Inherited from”Swizzle4.yxw
readonly
yxww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:329
Inherited from
Section titled “Inherited from”Swizzle4.yxww
readonly
yxwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:326
Inherited from
Section titled “Inherited from”Swizzle4.yxwx
readonly
yxwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:327
Inherited from
Section titled “Inherited from”Swizzle4.yxwy
readonly
yxwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:328
Inherited from
Section titled “Inherited from”Swizzle4.yxwz
readonly
yxx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:135
Inherited from
Section titled “Inherited from”Swizzle4.yxx
readonly
yxxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:323
Inherited from
Section titled “Inherited from”Swizzle4.yxxw
readonly
yxxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:148
Inherited from
Section titled “Inherited from”Swizzle4.yxxx
readonly
yxxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:149
Inherited from
Section titled “Inherited from”Swizzle4.yxxy
readonly
yxxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:204
Inherited from
Section titled “Inherited from”Swizzle4.yxxz
readonly
yxy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:136
Inherited from
Section titled “Inherited from”Swizzle4.yxy
readonly
yxyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:324
Inherited from
Section titled “Inherited from”Swizzle4.yxyw
readonly
yxyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:150
Inherited from
Section titled “Inherited from”Swizzle4.yxyx
readonly
yxyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:151
Inherited from
Section titled “Inherited from”Swizzle4.yxyy
readonly
yxyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:205
Inherited from
Section titled “Inherited from”Swizzle4.yxyz
readonly
yxz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:170
Inherited from
Section titled “Inherited from”Swizzle4.yxz
readonly
yxzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:325
Inherited from
Section titled “Inherited from”Swizzle4.yxzw
readonly
yxzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:206
Inherited from
Section titled “Inherited from”Swizzle4.yxzx
readonly
yxzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:207
Inherited from
Section titled “Inherited from”Swizzle4.yxzy
readonly
yxzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:208
Inherited from
Section titled “Inherited from”Swizzle4.yxzz
readonly
yy:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:129
Inherited from
Section titled “Inherited from”Swizzle4.yy
readonly
yyw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:268
Inherited from
Section titled “Inherited from”Swizzle4.yyw
readonly
yyww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:336
Inherited from
Section titled “Inherited from”Swizzle4.yyww
readonly
yywx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:333
Inherited from
Section titled “Inherited from”Swizzle4.yywx
readonly
yywy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:334
Inherited from
Section titled “Inherited from”Swizzle4.yywy
readonly
yywz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:335
Inherited from
Section titled “Inherited from”Swizzle4.yywz
readonly
yyx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:137
Inherited from
Section titled “Inherited from”Swizzle4.yyx
readonly
yyxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:330
Inherited from
Section titled “Inherited from”Swizzle4.yyxw
readonly
yyxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:152
Inherited from
Section titled “Inherited from”Swizzle4.yyxx
readonly
yyxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:153
Inherited from
Section titled “Inherited from”Swizzle4.yyxy
readonly
yyxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:209
Inherited from
Section titled “Inherited from”Swizzle4.yyxz
readonly
yyy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:138
Inherited from
Section titled “Inherited from”Swizzle4.yyy
readonly
yyyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:331
Inherited from
Section titled “Inherited from”Swizzle4.yyyw
readonly
yyyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:154
Inherited from
Section titled “Inherited from”Swizzle4.yyyx
readonly
yyyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:155
Inherited from
Section titled “Inherited from”Swizzle4.yyyy
readonly
yyyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:210
Inherited from
Section titled “Inherited from”Swizzle4.yyyz
readonly
yyz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:171
Inherited from
Section titled “Inherited from”Swizzle4.yyz
readonly
yyzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:332
Inherited from
Section titled “Inherited from”Swizzle4.yyzw
readonly
yyzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:211
Inherited from
Section titled “Inherited from”Swizzle4.yyzx
readonly
yyzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:212
Inherited from
Section titled “Inherited from”Swizzle4.yyzy
readonly
yyzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:213
Inherited from
Section titled “Inherited from”Swizzle4.yyzz
readonly
yz:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:160
Inherited from
Section titled “Inherited from”Swizzle4.yz
readonly
yzw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:269
Inherited from
Section titled “Inherited from”Swizzle4.yzw
readonly
yzww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:343
Inherited from
Section titled “Inherited from”Swizzle4.yzww
readonly
yzwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:340
Inherited from
Section titled “Inherited from”Swizzle4.yzwx
readonly
yzwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:341
Inherited from
Section titled “Inherited from”Swizzle4.yzwy
readonly
yzwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:342
Inherited from
Section titled “Inherited from”Swizzle4.yzwz
readonly
yzx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:172
Inherited from
Section titled “Inherited from”Swizzle4.yzx
readonly
yzxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:337
Inherited from
Section titled “Inherited from”Swizzle4.yzxw
readonly
yzxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:214
Inherited from
Section titled “Inherited from”Swizzle4.yzxx
readonly
yzxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:215
Inherited from
Section titled “Inherited from”Swizzle4.yzxy
readonly
yzxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:216
Inherited from
Section titled “Inherited from”Swizzle4.yzxz
readonly
yzy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:173
Inherited from
Section titled “Inherited from”Swizzle4.yzy
readonly
yzyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:338
Inherited from
Section titled “Inherited from”Swizzle4.yzyw
readonly
yzyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:217
Inherited from
Section titled “Inherited from”Swizzle4.yzyx
readonly
yzyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:218
Inherited from
Section titled “Inherited from”Swizzle4.yzyy
readonly
yzyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:219
Inherited from
Section titled “Inherited from”Swizzle4.yzyz
readonly
yzz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:174
Inherited from
Section titled “Inherited from”Swizzle4.yzz
readonly
yzzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:339
Inherited from
Section titled “Inherited from”Swizzle4.yzzw
readonly
yzzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:220
Inherited from
Section titled “Inherited from”Swizzle4.yzzx
readonly
yzzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:221
Inherited from
Section titled “Inherited from”Swizzle4.yzzy
readonly
yzzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:222
Inherited from
Section titled “Inherited from”Swizzle4.yzzz
z:
number
Defined in: packages/typegpu/src/data/wgslTypes.ts:587
readonly
zw:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:254
Inherited from
Section titled “Inherited from”Swizzle4.zw
readonly
zww:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:280
Inherited from
Section titled “Inherited from”Swizzle4.zww
readonly
zwww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:386
Inherited from
Section titled “Inherited from”Swizzle4.zwww
readonly
zwwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:383
Inherited from
Section titled “Inherited from”Swizzle4.zwwx
readonly
zwwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:384
Inherited from
Section titled “Inherited from”Swizzle4.zwwy
readonly
zwwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:385
Inherited from
Section titled “Inherited from”Swizzle4.zwwz
readonly
zwx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:277
Inherited from
Section titled “Inherited from”Swizzle4.zwx
readonly
zwxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:379
Inherited from
Section titled “Inherited from”Swizzle4.zwxw
readonly
zwxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:376
Inherited from
Section titled “Inherited from”Swizzle4.zwxx
readonly
zwxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:377
Inherited from
Section titled “Inherited from”Swizzle4.zwxy
readonly
zwxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:378
Inherited from
Section titled “Inherited from”Swizzle4.zwxz
readonly
zwy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:278
Inherited from
Section titled “Inherited from”Swizzle4.zwy
readonly
zwyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:380
Inherited from
Section titled “Inherited from”Swizzle4.zwyy
readonly
zwyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:381
Inherited from
Section titled “Inherited from”Swizzle4.zwyz
readonly
zwz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:279
Inherited from
Section titled “Inherited from”Swizzle4.zwz
readonly
zwzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:382
Inherited from
Section titled “Inherited from”Swizzle4.zwzz
readonly
zx:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:161
Inherited from
Section titled “Inherited from”Swizzle4.zx
readonly
zxw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:274
Inherited from
Section titled “Inherited from”Swizzle4.zxw
readonly
zxww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:361
Inherited from
Section titled “Inherited from”Swizzle4.zxww
readonly
zxwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:358
Inherited from
Section titled “Inherited from”Swizzle4.zxwx
readonly
zxwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:359
Inherited from
Section titled “Inherited from”Swizzle4.zxwy
readonly
zxwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:360
Inherited from
Section titled “Inherited from”Swizzle4.zxwz
readonly
zxx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:175
Inherited from
Section titled “Inherited from”Swizzle4.zxx
readonly
zxxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:355
Inherited from
Section titled “Inherited from”Swizzle4.zxxw
readonly
zxxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:223
Inherited from
Section titled “Inherited from”Swizzle4.zxxx
readonly
zxxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:224
Inherited from
Section titled “Inherited from”Swizzle4.zxxy
readonly
zxxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:225
Inherited from
Section titled “Inherited from”Swizzle4.zxxz
readonly
zxy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:176
Inherited from
Section titled “Inherited from”Swizzle4.zxy
readonly
zxyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:356
Inherited from
Section titled “Inherited from”Swizzle4.zxyw
readonly
zxyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:226
Inherited from
Section titled “Inherited from”Swizzle4.zxyx
readonly
zxyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:227
Inherited from
Section titled “Inherited from”Swizzle4.zxyy
readonly
zxyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:228
Inherited from
Section titled “Inherited from”Swizzle4.zxyz
readonly
zxz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:177
Inherited from
Section titled “Inherited from”Swizzle4.zxz
readonly
zxzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:357
Inherited from
Section titled “Inherited from”Swizzle4.zxzw
readonly
zxzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:229
Inherited from
Section titled “Inherited from”Swizzle4.zxzx
readonly
zxzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:230
Inherited from
Section titled “Inherited from”Swizzle4.zxzy
readonly
zxzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:231
Inherited from
Section titled “Inherited from”Swizzle4.zxzz
readonly
zy:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:162
Inherited from
Section titled “Inherited from”Swizzle4.zy
readonly
zyw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:275
Inherited from
Section titled “Inherited from”Swizzle4.zyw
readonly
zyww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:368
Inherited from
Section titled “Inherited from”Swizzle4.zyww
readonly
zywx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:365
Inherited from
Section titled “Inherited from”Swizzle4.zywx
readonly
zywy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:366
Inherited from
Section titled “Inherited from”Swizzle4.zywy
readonly
zywz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:367
Inherited from
Section titled “Inherited from”Swizzle4.zywz
readonly
zyx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:178
Inherited from
Section titled “Inherited from”Swizzle4.zyx
readonly
zyxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:362
Inherited from
Section titled “Inherited from”Swizzle4.zyxw
readonly
zyxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:232
Inherited from
Section titled “Inherited from”Swizzle4.zyxx
readonly
zyxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:233
Inherited from
Section titled “Inherited from”Swizzle4.zyxy
readonly
zyxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:234
Inherited from
Section titled “Inherited from”Swizzle4.zyxz
readonly
zyy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:179
Inherited from
Section titled “Inherited from”Swizzle4.zyy
readonly
zyyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:363
Inherited from
Section titled “Inherited from”Swizzle4.zyyw
readonly
zyyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:235
Inherited from
Section titled “Inherited from”Swizzle4.zyyx
readonly
zyyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:236
Inherited from
Section titled “Inherited from”Swizzle4.zyyy
readonly
zyyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:237
Inherited from
Section titled “Inherited from”Swizzle4.zyyz
readonly
zyz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:180
Inherited from
Section titled “Inherited from”Swizzle4.zyz
readonly
zyzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:364
Inherited from
Section titled “Inherited from”Swizzle4.zyzw
readonly
zyzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:238
Inherited from
Section titled “Inherited from”Swizzle4.zyzx
readonly
zyzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:239
Inherited from
Section titled “Inherited from”Swizzle4.zyzy
readonly
zyzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:240
Inherited from
Section titled “Inherited from”Swizzle4.zyzz
readonly
zz:v2f
Defined in: packages/typegpu/src/data/wgslTypes.ts:163
Inherited from
Section titled “Inherited from”Swizzle4.zz
readonly
zzw:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:276
Inherited from
Section titled “Inherited from”Swizzle4.zzw
readonly
zzww:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:375
Inherited from
Section titled “Inherited from”Swizzle4.zzww
readonly
zzwx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:372
Inherited from
Section titled “Inherited from”Swizzle4.zzwx
readonly
zzwy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:373
Inherited from
Section titled “Inherited from”Swizzle4.zzwy
readonly
zzwz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:374
Inherited from
Section titled “Inherited from”Swizzle4.zzwz
readonly
zzx:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:181
Inherited from
Section titled “Inherited from”Swizzle4.zzx
readonly
zzxw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:369
Inherited from
Section titled “Inherited from”Swizzle4.zzxw
readonly
zzxx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:241
Inherited from
Section titled “Inherited from”Swizzle4.zzxx
readonly
zzxy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:242
Inherited from
Section titled “Inherited from”Swizzle4.zzxy
readonly
zzxz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:243
Inherited from
Section titled “Inherited from”Swizzle4.zzxz
readonly
zzy:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:182
Inherited from
Section titled “Inherited from”Swizzle4.zzy
readonly
zzyw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:370
Inherited from
Section titled “Inherited from”Swizzle4.zzyw
readonly
zzyx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:244
Inherited from
Section titled “Inherited from”Swizzle4.zzyx
readonly
zzyy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:245
Inherited from
Section titled “Inherited from”Swizzle4.zzyy
readonly
zzyz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:246
Inherited from
Section titled “Inherited from”Swizzle4.zzyz
readonly
zzz:v3f
Defined in: packages/typegpu/src/data/wgslTypes.ts:183
Inherited from
Section titled “Inherited from”Swizzle4.zzz
readonly
zzzw:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:371
Inherited from
Section titled “Inherited from”Swizzle4.zzzw
readonly
zzzx:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:247
Inherited from
Section titled “Inherited from”Swizzle4.zzzx
readonly
zzzy:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:248
Inherited from
Section titled “Inherited from”Swizzle4.zzzy
readonly
zzzz:v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:249
Inherited from
Section titled “Inherited from”Swizzle4.zzzz
Methods
Section titled “Methods”[iterator]()
Section titled “[iterator]()”[iterator]():
ArrayIterator
<number
>
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.iterable.d.ts:78
Iterator
Returns
Section titled “Returns”ArrayIterator
<number
>
Inherited from
Section titled “Inherited from”Tuple4.[iterator]
Call Signature
Section titled “Call Signature”add(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:51
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.add
Call Signature
Section titled “Call Signature”add(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:52
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.add
at(
index
):undefined
|number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.array.d.ts:24
Returns the item located at the specified index.
Parameters
Section titled “Parameters”number
The zero-based index of the desired code unit. A negative index will count back from the last item.
Returns
Section titled “Returns”undefined
| number
Inherited from
Section titled “Inherited from”Tuple4.at
concat()
Section titled “concat()”Call Signature
Section titled “Call Signature”concat(…
items
):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1350
Combines two or more arrays. This method returns a new array without modifying any existing arrays.
Parameters
Section titled “Parameters”…ConcatArray
<number
>[]
Additional arrays and/or items to add to the end of the array.
Returns
Section titled “Returns”number
[]
Inherited from
Section titled “Inherited from”Tuple4.concat
Call Signature
Section titled “Call Signature”concat(…
items
):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1356
Combines two or more arrays. This method returns a new array without modifying any existing arrays.
Parameters
Section titled “Parameters”…(number
| ConcatArray
<number
>)[]
Additional arrays and/or items to add to the end of the array.
Returns
Section titled “Returns”number
[]
Inherited from
Section titled “Inherited from”Tuple4.concat
copyWithin()
Section titled “copyWithin()”copyWithin(
target
,start
,end
?):this
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.core.d.ts:62
Returns the this object after copying a section of the array identified by start and end to the same array starting at position target
Parameters
Section titled “Parameters”target
Section titled “target”number
If target is negative, it is treated as length+target where length is the length of the array.
number
If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.
number
If not specified, length of the this object is used as its default value.
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”Tuple4.copyWithin
Call Signature
Section titled “Call Signature”div(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:61
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.div
Call Signature
Section titled “Call Signature”div(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:62
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.div
entries()
Section titled “entries()”entries():
ArrayIterator
<[number
,number
]>
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.iterable.d.ts:83
Returns an iterable of key, value pairs for every entry in the array
Returns
Section titled “Returns”ArrayIterator
<[number
, number
]>
Inherited from
Section titled “Inherited from”Tuple4.entries
every()
Section titled “every()”Call Signature
Section titled “Call Signature”every<
S
>(predicate
,thisArg
?):this is S[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1433
Determines whether all the members of an array satisfy the specified test.
Type Parameters
Section titled “Type Parameters”• S extends number
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, array
) => value is S
A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.
thisArg?
Section titled “thisArg?”any
An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
Returns
Section titled “Returns”this is S[]
Inherited from
Section titled “Inherited from”Tuple4.every
Call Signature
Section titled “Call Signature”every(
predicate
,thisArg
?):boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1442
Determines whether all the members of an array satisfy the specified test.
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, array
) => unknown
A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.
thisArg?
Section titled “thisArg?”any
An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”Tuple4.every
fill()
Section titled “fill()”fill(
value
,start
?,end
?):this
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.core.d.ts:51
Changes all array elements from start
to end
index to a static value
and returns the modified array
Parameters
Section titled “Parameters”number
value to fill array section with
start?
Section titled “start?”number
index to start filling the array at. If start is negative, it is treated as length+start where length is the length of the array.
number
index to stop filling the array at. If end is negative, it is treated as length+end.
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”Tuple4.fill
filter()
Section titled “filter()”Call Signature
Section titled “Call Signature”filter<
S
>(predicate
,thisArg
?):S
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1469
Returns the elements of an array that meet the condition specified in a callback function.
Type Parameters
Section titled “Type Parameters”• S extends number
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, array
) => value is S
A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
thisArg?
Section titled “thisArg?”any
An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
Returns
Section titled “Returns”S
[]
Inherited from
Section titled “Inherited from”Tuple4.filter
Call Signature
Section titled “Call Signature”filter(
predicate
,thisArg
?):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1475
Returns the elements of an array that meet the condition specified in a callback function.
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, array
) => unknown
A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
thisArg?
Section titled “thisArg?”any
An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
Returns
Section titled “Returns”number
[]
Inherited from
Section titled “Inherited from”Tuple4.filter
find()
Section titled “find()”Call Signature
Section titled “Call Signature”find<
S
>(predicate
,thisArg
?):undefined
|S
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.core.d.ts:29
Returns the value of the first element in the array where predicate is true, and undefined otherwise.
Type Parameters
Section titled “Type Parameters”• S extends number
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, obj
) => value is S
find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined.
thisArg?
Section titled “thisArg?”any
If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.
Returns
Section titled “Returns”undefined
| S
Inherited from
Section titled “Inherited from”Tuple4.find
Call Signature
Section titled “Call Signature”find(
predicate
,thisArg
?):undefined
|number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.core.d.ts:30
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, obj
) => unknown
thisArg?
Section titled “thisArg?”any
Returns
Section titled “Returns”undefined
| number
Inherited from
Section titled “Inherited from”Tuple4.find
findIndex()
Section titled “findIndex()”findIndex(
predicate
,thisArg
?):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.core.d.ts:41
Returns the index of the first element in the array where predicate is true, and -1 otherwise.
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, obj
) => unknown
find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.
thisArg?
Section titled “thisArg?”any
If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.findIndex
findLast()
Section titled “findLast()”Call Signature
Section titled “Call Signature”findLast<
S
>(predicate
,thisArg
?):undefined
|S
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts:29
Returns the value of the last element in the array where predicate is true, and undefined otherwise.
Type Parameters
Section titled “Type Parameters”• S extends number
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, array
) => value is S
findLast calls predicate once for each element of the array, in descending order, until it finds one where predicate returns true. If such an element is found, findLast immediately returns that element value. Otherwise, findLast returns undefined.
thisArg?
Section titled “thisArg?”any
If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.
Returns
Section titled “Returns”undefined
| S
Inherited from
Section titled “Inherited from”Tuple4.findLast
Call Signature
Section titled “Call Signature”findLast(
predicate
,thisArg
?):undefined
|number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts:30
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, array
) => unknown
thisArg?
Section titled “thisArg?”any
Returns
Section titled “Returns”undefined
| number
Inherited from
Section titled “Inherited from”Tuple4.findLast
findLastIndex()
Section titled “findLastIndex()”findLastIndex(
predicate
,thisArg
?):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts:41
Returns the index of the last element in the array where predicate is true, and -1 otherwise.
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, array
) => unknown
findLastIndex calls predicate once for each element of the array, in descending order, until it finds one where predicate returns true. If such an element is found, findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
thisArg?
Section titled “thisArg?”any
If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.findLastIndex
flat()
Section titled “flat()”flat<
A
,D
>(this
,depth
?):FlatArray
<A
,D
>[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2019.array.d.ts:75
Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.
Type Parameters
Section titled “Type Parameters”• A
• D extends number
= 1
Parameters
Section titled “Parameters”A
depth?
Section titled “depth?”D
The maximum recursion depth
Returns
Section titled “Returns”FlatArray
<A
, D
>[]
Inherited from
Section titled “Inherited from”Tuple4.flat
flatMap()
Section titled “flatMap()”flatMap<
U
,This
>(callback
,thisArg
?):U
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2019.array.d.ts:64
Calls a defined callback function on each element of an array. Then, flattens the result into a new array. This is identical to a map followed by flat with depth 1.
Type Parameters
Section titled “Type Parameters”• U
• This = undefined
Parameters
Section titled “Parameters”callback
Section titled “callback”(this
, value
, index
, array
) => U
| readonly U
[]
A function that accepts up to three arguments. The flatMap method calls the callback function one time for each element in the array.
thisArg?
Section titled “thisArg?”This
An object to which the this keyword can refer in the callback function. If thisArg is omitted, undefined is used as the this value.
Returns
Section titled “Returns”U
[]
Inherited from
Section titled “Inherited from”Tuple4.flatMap
forEach()
Section titled “forEach()”forEach(
callbackfn
,thisArg
?):void
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1457
Performs the specified action for each element in an array.
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(value
, index
, array
) => void
A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
thisArg?
Section titled “thisArg?”any
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”Tuple4.forEach
includes()
Section titled “includes()”includes(
searchElement
,fromIndex
?):boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2016.array.include.d.ts:25
Determines whether an array includes a certain element, returning true or false as appropriate.
Parameters
Section titled “Parameters”searchElement
Section titled “searchElement”number
The element to search for.
fromIndex?
Section titled “fromIndex?”number
The position in this array at which to begin searching for searchElement.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”Tuple4.includes
indexOf()
Section titled “indexOf()”indexOf(
searchElement
,fromIndex
?):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1418
Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
Parameters
Section titled “Parameters”searchElement
Section titled “searchElement”number
The value to locate in the array.
fromIndex?
Section titled “fromIndex?”number
The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.indexOf
join()
Section titled “join()”join(
separator
?):string
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1361
Adds all the elements of an array into a string, separated by the specified separator string.
Parameters
Section titled “Parameters”separator?
Section titled “separator?”string
A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Tuple4.join
keys()
Section titled “keys()”keys():
ArrayIterator
<number
>
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.iterable.d.ts:88
Returns an iterable of keys in the array
Returns
Section titled “Returns”ArrayIterator
<number
>
Inherited from
Section titled “Inherited from”Tuple4.keys
lastIndexOf()
Section titled “lastIndexOf()”lastIndexOf(
searchElement
,fromIndex
?):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1424
Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
Parameters
Section titled “Parameters”searchElement
Section titled “searchElement”number
The value to locate in the array.
fromIndex?
Section titled “fromIndex?”number
The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.lastIndexOf
map<
U
>(callbackfn
,thisArg
?):U
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1463
Calls a defined callback function on each element of an array, and returns an array that contains the results.
Type Parameters
Section titled “Type Parameters”• U
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(value
, index
, array
) => U
A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.
thisArg?
Section titled “thisArg?”any
An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Returns
Section titled “Returns”U
[]
Inherited from
Section titled “Inherited from”Tuple4.map
Call Signature
Section titled “Call Signature”mul(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:57
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.mul
Call Signature
Section titled “Call Signature”mul(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:58
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.mul
Call Signature
Section titled “Call Signature”mul(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:59
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.mul
pop():
undefined
|number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1339
Removes the last element from an array and returns it. If the array is empty, undefined is returned and the array is not modified.
Returns
Section titled “Returns”undefined
| number
Inherited from
Section titled “Inherited from”Tuple4.pop
push()
Section titled “push()”push(…
items
):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1344
Appends new elements to the end of an array, and returns the new length of the array.
Parameters
Section titled “Parameters”…number
[]
New elements to add to the array.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.push
reduce()
Section titled “reduce()”Call Signature
Section titled “Call Signature”reduce(
callbackfn
):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1481
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(previousValue
, currentValue
, currentIndex
, array
) => number
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.reduce
Call Signature
Section titled “Call Signature”reduce(
callbackfn
,initialValue
):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1482
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(previousValue
, currentValue
, currentIndex
, array
) => number
initialValue
Section titled “initialValue”number
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.reduce
Call Signature
Section titled “Call Signature”reduce<
U
>(callbackfn
,initialValue
):U
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1488
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type Parameters
Section titled “Type Parameters”• U
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(previousValue
, currentValue
, currentIndex
, array
) => U
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
initialValue
Section titled “initialValue”U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Returns
Section titled “Returns”U
Inherited from
Section titled “Inherited from”Tuple4.reduce
reduceRight()
Section titled “reduceRight()”Call Signature
Section titled “Call Signature”reduceRight(
callbackfn
):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1494
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(previousValue
, currentValue
, currentIndex
, array
) => number
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.reduceRight
Call Signature
Section titled “Call Signature”reduceRight(
callbackfn
,initialValue
):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1495
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(previousValue
, currentValue
, currentIndex
, array
) => number
initialValue
Section titled “initialValue”number
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.reduceRight
Call Signature
Section titled “Call Signature”reduceRight<
U
>(callbackfn
,initialValue
):U
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1501
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
Type Parameters
Section titled “Type Parameters”• U
Parameters
Section titled “Parameters”callbackfn
Section titled “callbackfn”(previousValue
, currentValue
, currentIndex
, array
) => U
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
initialValue
Section titled “initialValue”U
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Returns
Section titled “Returns”U
Inherited from
Section titled “Inherited from”Tuple4.reduceRight
reverse()
Section titled “reverse()”reverse():
number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1366
Reverses the elements in an array in place. This method mutates the array and returns a reference to the same array.
Returns
Section titled “Returns”number
[]
Inherited from
Section titled “Inherited from”Tuple4.reverse
shift()
Section titled “shift()”shift():
undefined
|number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1371
Removes the first element from an array and returns it. If the array is empty, undefined is returned and the array is not modified.
Returns
Section titled “Returns”undefined
| number
Inherited from
Section titled “Inherited from”Tuple4.shift
slice()
Section titled “slice()”slice(
start
?,end
?):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1381
Returns a copy of a section of an array. For both start and end, a negative index can be used to indicate an offset from the end of the array. For example, -2 refers to the second to last element of the array.
Parameters
Section titled “Parameters”start?
Section titled “start?”number
The beginning index of the specified portion of the array. If start is undefined, then the slice begins at index 0.
number
The end index of the specified portion of the array. This is exclusive of the element at the index ‘end’. If end is undefined, then the slice extends to the end of the array.
Returns
Section titled “Returns”number
[]
Inherited from
Section titled “Inherited from”Tuple4.slice
some()
Section titled “some()”some(
predicate
,thisArg
?):boolean
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1451
Determines whether the specified callback function returns true for any element of an array.
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(value
, index
, array
) => unknown
A function that accepts up to three arguments. The some method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value true, or until the end of the array.
thisArg?
Section titled “thisArg?”any
An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”Tuple4.some
sort()
Section titled “sort()”sort(
compareFn
?):this
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1392
Sorts an array in place. This method mutates the array and returns a reference to the same array.
Parameters
Section titled “Parameters”compareFn?
Section titled “compareFn?”(a
, b
) => number
Function used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they’re equal, and a positive value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
[11,2,22,1].sort((a, b) => a - b)
Returns
Section titled “Returns”this
Inherited from
Section titled “Inherited from”Tuple4.sort
splice()
Section titled “splice()”Call Signature
Section titled “Call Signature”splice(
start
,deleteCount
?):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1399
Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
Parameters
Section titled “Parameters”number
The zero-based location in the array from which to start removing elements.
deleteCount?
Section titled “deleteCount?”number
The number of elements to remove.
Returns
Section titled “Returns”number
[]
An array containing the elements that were deleted.
Inherited from
Section titled “Inherited from”Tuple4.splice
Call Signature
Section titled “Call Signature”splice(
start
,deleteCount
, …items
):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1407
Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
Parameters
Section titled “Parameters”number
The zero-based location in the array from which to start removing elements.
deleteCount
Section titled “deleteCount”number
The number of elements to remove.
…number
[]
Elements to insert into the array in place of the deleted elements.
Returns
Section titled “Returns”number
[]
An array containing the elements that were deleted.
Inherited from
Section titled “Inherited from”Tuple4.splice
Call Signature
Section titled “Call Signature”sub(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:54
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.sub
Call Signature
Section titled “Call Signature”sub(
other
):v4f
Defined in: packages/typegpu/src/data/wgslTypes.ts:55
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”vecInfixNotation.sub
toLocaleString()
Section titled “toLocaleString()”Call Signature
Section titled “Call Signature”toLocaleString():
string
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1334
Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Tuple4.toLocaleString
Call Signature
Section titled “Call Signature”toLocaleString(
locales
,options
?):string
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.core.d.ts:64
Parameters
Section titled “Parameters”locales
Section titled “locales”string
| string
[]
options?
Section titled “options?”NumberFormatOptions
& DateTimeFormatOptions
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Tuple4.toLocaleString
toReversed()
Section titled “toReversed()”toReversed():
number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts:46
Returns a copy of an array with its elements reversed.
Returns
Section titled “Returns”number
[]
Inherited from
Section titled “Inherited from”Tuple4.toReversed
toSorted()
Section titled “toSorted()”toSorted(
compareFn
?):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts:57
Returns a copy of an array with its elements sorted.
Parameters
Section titled “Parameters”compareFn?
Section titled “compareFn?”(a
, b
) => number
Function used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they’re equal, and a positive value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
[11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
Returns
Section titled “Returns”number
[]
Inherited from
Section titled “Inherited from”Tuple4.toSorted
toSpliced()
Section titled “toSpliced()”Call Signature
Section titled “Call Signature”toSpliced(
start
,deleteCount
, …items
):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts:66
Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
Parameters
Section titled “Parameters”number
The zero-based location in the array from which to start removing elements.
deleteCount
Section titled “deleteCount”number
The number of elements to remove.
…number
[]
Elements to insert into the copied array in place of the deleted elements.
Returns
Section titled “Returns”number
[]
The copied array.
Inherited from
Section titled “Inherited from”Tuple4.toSpliced
Call Signature
Section titled “Call Signature”toSpliced(
start
,deleteCount
?):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts:74
Copies an array and removes elements while returning the remaining elements.
Parameters
Section titled “Parameters”number
The zero-based location in the array from which to start removing elements.
deleteCount?
Section titled “deleteCount?”number
The number of elements to remove.
Returns
Section titled “Returns”number
[]
A copy of the original array with the remaining elements.
Inherited from
Section titled “Inherited from”Tuple4.toSpliced
toString()
Section titled “toString()”toString():
string
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1330
Returns a string representation of an array.
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”Tuple4.toString
unshift()
Section titled “unshift()”unshift(…
items
):number
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts:1412
Inserts new elements at the start of an array, and returns the new length of the array.
Parameters
Section titled “Parameters”…number
[]
Elements to insert at the start of the array.
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”Tuple4.unshift
values()
Section titled “values()”values():
ArrayIterator
<number
>
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.iterable.d.ts:93
Returns an iterable of values in the array
Returns
Section titled “Returns”ArrayIterator
<number
>
Inherited from
Section titled “Inherited from”Tuple4.values
with()
Section titled “with()”with(
index
,value
):number
[]
Defined in: node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts:85
Copies an array, then overwrites the value at the provided index with the given value. If the index is negative, then it replaces from the end of the array.
Parameters
Section titled “Parameters”number
The index of the value to overwrite. If the index is negative, then it replaces from the end of the array.
number
The value to write into the copied array.
Returns
Section titled “Returns”number
[]
The copied array with the updated value.
Inherited from
Section titled “Inherited from”Tuple4.with