Vec3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:916
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:920
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:921
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:922
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:923
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:924
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:925
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”[$gpuCallable]
Section titled “[$gpuCallable]”[$gpuCallable]:
object
Defined in: packages/typegpu/src/types.ts:359
strictSignature?
Section titled “strictSignature?”
optionalstrictSignature:object
strictSignature.argTypes
Section titled “strictSignature.argTypes”strictSignature.returnType
Section titled “strictSignature.returnType”returnType:
BaseData
call()
Section titled “call()”call(
ctx,args):Snippet
Parameters
Section titled “Parameters”[Snippet, Snippet]
Returns
Section titled “Returns”Snippet
Inherited from
Section titled “Inherited from”DualFn.[$gpuCallable]
[$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:933
[$repr]
Section titled “[$repr]”
readonly[$repr]:v3b
Defined in: packages/typegpu/src/data/wgslTypes.ts:932
Overrides
Section titled “Overrides”componentCount
Section titled “componentCount”
readonlycomponentCount:3
Defined in: packages/typegpu/src/data/wgslTypes.ts:929
primitive
Section titled “primitive”
readonlyprimitive:Bool
Defined in: packages/typegpu/src/data/wgslTypes.ts:928
readonlytype:"vec3<bool>"
Defined in: packages/typegpu/src/data/wgslTypes.ts:927
Overrides
Section titled “Overrides”Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Defined in: packages/typegpu/src/data/wgslTypes.ts:49
Returns
Section titled “Returns”string