Skip to content

Vec2b

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

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

Vec2b(x, y): v2b

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

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

boolean

boolean

v2b

Vec2b(xy): v2b

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

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

boolean

v2b

Vec2b(): v2b

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

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

v2b

Vec2b(v): v2b

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

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

v2b

v2b

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


readonly [$repr]: v2b

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

BaseData.[$repr]


readonly componentCount: 2

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


readonly primitive: Bool

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


readonly type: "vec2<bool>"

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

BaseData.type

[$gpuCallable](ctx, args): Snippet

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

ResolutionCtx

readonly [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.