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.

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

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

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

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

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

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

[$gpuCallable]: object

optional strictSignature: object

argTypes: (BaseData | BaseData[])[]

returnType: BaseData

ResolutionCtx

[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:885


readonly [$repr]: v3b

BaseData.[$repr]

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


readonly componentCount: 3

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


readonly primitive: Bool

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


readonly type: "vec3<bool>"

BaseData.type

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

toString(): string

string

BaseData.toString

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