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.

  • 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:1198

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:1199

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:1200

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:1201

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:1202

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:1203

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:1204

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:1205

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:1206

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:1207

readonly [$internal]: object

argConversionHint: FnArgsConversionHint

gpuImpl: (…args) => Snippet

…[Snippet, Snippet, Snippet]

Snippet

jsImpl: (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

DualFn.[$internal]

packages/typegpu/src/data/dualFn.ts:8


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

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


readonly [$repr]: v4b

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


readonly primitive: Bool

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


readonly type: "vec4<bool>"

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