Vec3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:941
Type of the d.vec3b object/function: vector data type schema/constructor
Cannot be used inside buffers as it is not host-shareable.
Extends
Section titled “Extends”BaseData.DualFn<(x,y,z) =>v3b& (xyz) =>v3b& () =>v3b& (v) =>v3b& (v0,z) =>v3b& (x,v0) =>v3b>
Call Signature
Section titled “Call Signature”Vec3b(
x,y,z):v3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:945
Type of the d.vec3b object/function: vector data type schema/constructor
Cannot be used inside buffers as it is not host-shareable.
Parameters
Section titled “Parameters”boolean
boolean
boolean
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”Vec3b(
xyz):v3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:946
Type of the d.vec3b object/function: vector data type schema/constructor
Cannot be used inside buffers as it is not host-shareable.
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”Vec3b():
v3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:947
Type of the d.vec3b object/function: vector data type schema/constructor
Cannot be used inside buffers as it is not host-shareable.
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”Vec3b(
v):v3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:948
Type of the d.vec3b object/function: vector data type schema/constructor
Cannot be used inside buffers as it is not host-shareable.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”Vec3b(
v0,z):v3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:949
Type of the d.vec3b object/function: vector data type schema/constructor
Cannot be used inside buffers as it is not host-shareable.
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”Vec3b(
x,v0):v3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:950
Type of the d.vec3b object/function: vector data type schema/constructor
Cannot be used inside buffers as it is not host-shareable.
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Properties
Section titled “Properties”[$gpuCallableStrictSignature]?
Section titled “[$gpuCallableStrictSignature]?”
optional[$gpuCallableStrictSignature]:GPUCallableStrictSignature
Defined in: packages/typegpu/src/types.ts:484
Inherited from
Section titled “Inherited from”DualFn.[$gpuCallableStrictSignature]
[$internal]
Section titled “[$internal]”
readonly[$internal]:Record<string,unknown>
Defined in: packages/typegpu/src/data/wgslTypes.ts:46
Inherited from
Section titled “Inherited from”[$invalidSchemaReason]
Section titled “[$invalidSchemaReason]”
readonly[$invalidSchemaReason]:"Boolean vectors is not host-shareable, use numeric vectors instead"
Defined in: packages/typegpu/src/data/wgslTypes.ts:958
[$repr]
Section titled “[$repr]”
readonly[$repr]:v3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:957
Overrides
Section titled “Overrides”componentCount
Section titled “componentCount”
readonlycomponentCount:3
Defined in: packages/typegpu/src/data/wgslTypes.ts:954
primitive
Section titled “primitive”
readonlyprimitive:Bool
Defined in: packages/typegpu/src/data/wgslTypes.ts:953
readonlytype:"vec3<bool>"
Defined in: packages/typegpu/src/data/wgslTypes.ts:952
Overrides
Section titled “Overrides”Methods
Section titled “Methods”[$gpuCallable]()
Section titled “[$gpuCallable]()”[$gpuCallable](
ctx,args):Snippet
Defined in: packages/typegpu/src/types.ts:483
Parameters
Section titled “Parameters”ResolutionCtx
readonly [Snippet, Snippet]
Returns
Section titled “Returns”Snippet
Inherited from
Section titled “Inherited from”DualFn.[$gpuCallable]
toString()
Section titled “toString()”toString():
string
Defined in: packages/typegpu/src/data/wgslTypes.ts:49
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”© Software Mansion 2026. All trademarks and copyrights belong to their respective owners. Read about our Privacy Policy.