Skip to content

Vec4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

  • BaseData.DualFn<(x, y, z, w) => v4b & (xyzw) => v4b & () => v4b & (v) => v4b & (v0, w) => v4b & (x, v0) => v4b & (v0, v1) => v4b & (v0, z, w) => v4b & (x, v0, z) => v4b & (x, y, v0) => v4b>

Vec4b(x, y, z, w): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

boolean

boolean

boolean

boolean

v4b

packages/typegpu/src/data/wgslTypes.ts:1017

Vec4b(xyzw): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

boolean

v4b

packages/typegpu/src/data/wgslTypes.ts:1018

Vec4b(): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

v4b

packages/typegpu/src/data/wgslTypes.ts:1019

Vec4b(v): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

v4b

v4b

packages/typegpu/src/data/wgslTypes.ts:1020

Vec4b(v0, w): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

v3b

boolean

v4b

packages/typegpu/src/data/wgslTypes.ts:1021

Vec4b(x, v0): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

boolean

v3b

v4b

packages/typegpu/src/data/wgslTypes.ts:1022

Vec4b(v0, v1): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

v2b

v2b

v4b

packages/typegpu/src/data/wgslTypes.ts:1023

Vec4b(v0, z, w): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

v2b

boolean

boolean

v4b

packages/typegpu/src/data/wgslTypes.ts:1024

Vec4b(x, v0, z): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

boolean

v2b

boolean

v4b

packages/typegpu/src/data/wgslTypes.ts:1025

Vec4b(x, y, v0): v4b

Type of the d.vec4b object/function: vector data type schema/constructor Cannot be used inside buffers as it is not host-shareable.

boolean

boolean

v2b

v4b

packages/typegpu/src/data/wgslTypes.ts:1026

[$gpuCallable]: object

optional strictSignature: object

argTypes: (BaseData | BaseData[])[]

returnType: BaseData

ResolutionCtx

[Snippet, Snippet, Snippet]

Snippet

DualFn.[$gpuCallable]

packages/typegpu/src/types.ts:340


readonly [$internal]: Record<string, unknown>

BaseData.[$internal]

packages/typegpu/src/data/wgslTypes.ts:40


readonly [$invalidSchemaReason]: "Boolean vectors is not host-shareable, use numeric vectors instead"

packages/typegpu/src/data/wgslTypes.ts:1034


readonly [$repr]: v4b

BaseData.[$repr]

packages/typegpu/src/data/wgslTypes.ts:1033


readonly componentCount: 4

packages/typegpu/src/data/wgslTypes.ts:1030


readonly primitive: Bool

packages/typegpu/src/data/wgslTypes.ts:1029


readonly type: "vec4<bool>"

BaseData.type

packages/typegpu/src/data/wgslTypes.ts:1028

toString(): string

string

BaseData.toString

packages/typegpu/src/data/wgslTypes.ts:43