U32
Defined in: packages/typegpu/src/data/wgslTypes.ts:660
Unsigned 32-bit integer schema representing a single WGSL u32 value.
Extends
Section titled “Extends”BaseData.DualFn<(v?) =>number>
U32(
v?):number
Defined in: packages/typegpu/src/data/wgslTypes.ts:660
Unsigned 32-bit integer schema representing a single WGSL u32 value.
Parameters
Section titled “Parameters”number | boolean
Returns
Section titled “Returns”number
Properties
Section titled “Properties”[$gpuCallable]
Section titled “[$gpuCallable]”[$gpuCallable]:
object
Defined in: packages/typegpu/src/types.ts:359
strictSignature?
Section titled “strictSignature?”
optionalstrictSignature:object
strictSignature.argTypes
Section titled “strictSignature.argTypes”strictSignature.returnType
Section titled “strictSignature.returnType”returnType:
BaseData
call()
Section titled “call()”call(
ctx,args):Snippet
Parameters
Section titled “Parameters”[Snippet]
Returns
Section titled “Returns”Snippet
Inherited from
Section titled “Inherited from”DualFn.[$gpuCallable]
[$internal]
Section titled “[$internal]”
readonly[$internal]:Record<string,unknown>
Defined in: packages/typegpu/src/data/wgslTypes.ts:46
Inherited from
Section titled “Inherited from”[$memIdent]
Section titled “[$memIdent]”
readonly[$memIdent]:U32|Atomic<U32> |DecoratedLocation<U32>
Defined in: packages/typegpu/src/data/wgslTypes.ts:665
[$repr]
Section titled “[$repr]”
readonly[$repr]:number
Defined in: packages/typegpu/src/data/wgslTypes.ts:664
Overrides
Section titled “Overrides”[$validStorageSchema]
Section titled “[$validStorageSchema]”
readonly[$validStorageSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:666
[$validUniformSchema]
Section titled “[$validUniformSchema]”
readonly[$validUniformSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:667
[$validVertexSchema]
Section titled “[$validVertexSchema]”
readonly[$validVertexSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:668
readonlytype:"u32"
Defined in: packages/typegpu/src/data/wgslTypes.ts:661
Overrides
Section titled “Overrides”Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: packages/typegpu/src/data/wgslTypes.ts:49
Returns
Section titled “Returns”string