TgpuVertexFormatData
Defined in: packages/typegpu/src/data/vertexFormatData.ts:32
Extends
Section titled “Extends”BaseData.WithCast<FormatToWGSLType<T>>
Type Parameters
Section titled “Type Parameters”T extends VertexFormat
Properties
Section titled “Properties”[$cast]()
Section titled “[$cast]()”
readonly[$cast]: (v?) =>Infer<FormatToWGSLType<T>>
Defined in: packages/typegpu/src/types.ts:370
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”WithCast.[$cast]
[$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]
Returns
Section titled “Returns”Snippet
Inherited from
Section titled “Inherited from”WithCast.[$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]:"Vertex formats are not host-shareable, use concrete types instead"
Defined in: packages/typegpu/src/data/vertexFormatData.ts:39
[$repr]
Section titled “[$repr]”
readonly[$repr]:Infer<FormatToWGSLType<T>>
Defined in: packages/typegpu/src/data/vertexFormatData.ts:37
Overrides
Section titled “Overrides”[$validVertexSchema]
Section titled “[$validVertexSchema]”
readonly[$validVertexSchema]:true
Defined in: packages/typegpu/src/data/vertexFormatData.ts:38
readonlytype:T
Defined in: packages/typegpu/src/data/vertexFormatData.ts:34
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