Vec2h
Defined in: packages/typegpu/src/data/wgslTypes.ts:879
Type of the d.vec2h object/function: vector data type schema/constructor
Extends
Section titled “Extends”DualFn<(x,y) =>v2h& (xy) =>v2h& () =>v2h& (v) =>v2h>
Vec2h(
x,y):v2h
Defined in: packages/typegpu/src/data/wgslTypes.ts:881
Type of the d.vec2h object/function: vector data type schema/constructor
Parameters
Section titled “Parameters”number
number
Returns
Section titled “Returns”v2h
Vec2h(
xy):v2h
Defined in: packages/typegpu/src/data/wgslTypes.ts:882
Type of the d.vec2h object/function: vector data type schema/constructor
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”v2h
Vec2h():
v2h
Defined in: packages/typegpu/src/data/wgslTypes.ts:883
Type of the d.vec2h object/function: vector data type schema/constructor
Returns
Section titled “Returns”v2h
Vec2h(
v):v2h
Defined in: packages/typegpu/src/data/wgslTypes.ts:884
Type of the d.vec2h object/function: vector data type schema/constructor
Parameters
Section titled “Parameters”AnyNumericVec2Instance
Returns
Section titled “Returns”v2h
Properties
Section titled “Properties”[$internal]
Section titled “[$internal]”
readonly[$internal]:object
Defined in: packages/typegpu/src/data/dualFn.ts:8
argConversionHint
Section titled “argConversionHint”argConversionHint:
FnArgsConversionHint
gpuImpl()
Section titled “gpuImpl()”gpuImpl: (…
args) =>Snippet
Parameters
Section titled “Parameters”…[Snippet]
Returns
Section titled “Returns”Snippet
jsImpl
Section titled “jsImpl”jsImpl: (
x,y) =>v2h& (xy) =>v2h& () =>v2h& (v) =>v2h
Inherited from
Section titled “Inherited from”DualFn.[$internal]
[$repr]
Section titled “[$repr]”
readonly[$repr]:v2h
Defined in: packages/typegpu/src/data/wgslTypes.ts:889
[$validStorageSchema]
Section titled “[$validStorageSchema]”
readonly[$validStorageSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:890
[$validUniformSchema]
Section titled “[$validUniformSchema]”
readonly[$validUniformSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:891
[$validVertexSchema]
Section titled “[$validVertexSchema]”
readonly[$validVertexSchema]:true
Defined in: packages/typegpu/src/data/wgslTypes.ts:892
readonlytype:"vec2h"
Defined in: packages/typegpu/src/data/wgslTypes.ts:886