Skip to content

Vec3b

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

  • DualFn<(x, y, z) => v3b & (xyz) => v3b & () => v3b & (v) => v3b & (v0, z) => v3b & (x, v0) => v3b>

Vec3b(x, y, z): v3b

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

boolean

boolean

boolean

v3b

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

Vec3b(xyz): v3b

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

boolean

v3b

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

Vec3b(): v3b

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

v3b

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

Vec3b(v): v3b

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

v3b

v3b

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

Vec3b(v0, z): v3b

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

v2b

boolean

v3b

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

Vec3b(x, v0): v3b

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

boolean

v2b

v3b

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

readonly [$internal]: object

argConversionHint: FnArgsConversionHint

gpuImpl: (…args) => Snippet

…[Snippet, Snippet]

Snippet

jsImpl: (x, y, z) => v3b & (xyz) => v3b & () => v3b & (v) => v3b & (v0, z) => v3b & (x, v0) => v3b

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


readonly [$repr]: v3b

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


readonly primitive: Bool

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


readonly type: "vec3<bool>"

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