Skip to content

Vec4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1090

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

Defined in: packages/typegpu/src/data/wgslTypes.ts:1094

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

Vec4b(xyzw): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1095

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

Vec4b(): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1096

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

v4b

Vec4b(v): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1097

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

Vec4b(v0, w): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1098

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

Vec4b(x, v0): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1099

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

Vec4b(v0, v1): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1100

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

Vec4b(v0, z, w): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1101

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

Vec4b(x, v0, z): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1102

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

Vec4b(x, y, v0): v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1103

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

optional [$gpuCallableStrictSignature]: GPUCallableStrictSignature

Defined in: packages/typegpu/src/types.ts:484

DualFn.[$gpuCallableStrictSignature]


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

Defined in: packages/typegpu/src/data/wgslTypes.ts:46

BaseData.[$internal]


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

Defined in: packages/typegpu/src/data/wgslTypes.ts:1111


readonly [$repr]: v4b

Defined in: packages/typegpu/src/data/wgslTypes.ts:1110

BaseData.[$repr]


readonly componentCount: 4

Defined in: packages/typegpu/src/data/wgslTypes.ts:1107


readonly primitive: Bool

Defined in: packages/typegpu/src/data/wgslTypes.ts:1106


readonly type: "vec4<bool>"

Defined in: packages/typegpu/src/data/wgslTypes.ts:1105

BaseData.type

[$gpuCallable](ctx, args): Snippet

Defined in: packages/typegpu/src/types.ts:483

ResolutionCtx

readonly [Snippet, Snippet, Snippet]

Snippet

DualFn.[$gpuCallable]


toString(): string

Defined in: packages/typegpu/src/data/wgslTypes.ts:49

string

BaseData.toString

© Software Mansion 2026. All trademarks and copyrights belong to their respective owners. Read about our Privacy Policy.