F32
Defined in: packages/typegpu/src/data/wgslTypes.ts:617
32-bit float schema representing a single WGSL f32 value.
Extends
Section titled “Extends”BaseData.DualFn<(v?) =>number>
F32(
v?):number
Defined in: packages/typegpu/src/data/wgslTypes.ts:617
32-bit float schema representing a single WGSL f32 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”[$repr]
Section titled “[$repr]”
readonly[$repr]:number
Defined in: packages/typegpu/src/data/wgslTypes.ts:621
Overrides
Section titled “Overrides”[$validStorageSchema]
Section titled “[$validStorageSchema]”
readonly[$validStorageSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:622
[$validUniformSchema]
Section titled “[$validUniformSchema]”
readonly[$validUniformSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:623
[$validVertexSchema]
Section titled “[$validVertexSchema]”
readonly[$validVertexSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:624
readonlytype:"f32"
Defined in: packages/typegpu/src/data/wgslTypes.ts:618
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