I32
Defined in: packages/typegpu/src/data/wgslTypes.ts:670
Signed 32-bit integer schema representing a single WGSL i32 value.
Extends
Section titled “Extends”BaseData.DualFn<(v?) =>number>
I32(
v?):number
Defined in: packages/typegpu/src/data/wgslTypes.ts:670
Signed 32-bit integer schema representing a single WGSL i32 value.
Parameters
Section titled “Parameters”number | boolean
Returns
Section titled “Returns”number
Properties
Section titled “Properties”[$gpuCallableStrictSignature]?
Section titled “[$gpuCallableStrictSignature]?”
optional[$gpuCallableStrictSignature]:GPUCallableStrictSignature
Defined in: packages/typegpu/src/types.ts:484
Inherited from
Section titled “Inherited from”DualFn.[$gpuCallableStrictSignature]
[$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]:I32|Atomic<I32> |DecoratedLocation<I32>
Defined in: packages/typegpu/src/data/wgslTypes.ts:675
[$repr]
Section titled “[$repr]”
readonly[$repr]:number
Defined in: packages/typegpu/src/data/wgslTypes.ts:674
Overrides
Section titled “Overrides”[$validStorageSchema]
Section titled “[$validStorageSchema]”
readonly[$validStorageSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:676
[$validUniformSchema]
Section titled “[$validUniformSchema]”
readonly[$validUniformSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:677
[$validVertexSchema]
Section titled “[$validVertexSchema]”
readonly[$validVertexSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:678
readonlytype:"i32"
Defined in: packages/typegpu/src/data/wgslTypes.ts:671
Overrides
Section titled “Overrides”Methods
Section titled “Methods”[$gpuCallable]()
Section titled “[$gpuCallable]()”[$gpuCallable](
ctx,args):Snippet
Defined in: packages/typegpu/src/types.ts:483
Parameters
Section titled “Parameters”ResolutionCtx
readonly [Snippet | undefined]
Returns
Section titled “Returns”Snippet
Inherited from
Section titled “Inherited from”DualFn.[$gpuCallable]
toString()
Section titled “toString()”toString():
string
Defined in: packages/typegpu/src/data/wgslTypes.ts:49
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”© Software Mansion 2026. All trademarks and copyrights belong to their respective owners. Read about our Privacy Policy.