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:492
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”WithCast.[$cast]
[$gpuCallableStrictSignature]?
Section titled “[$gpuCallableStrictSignature]?”
optional[$gpuCallableStrictSignature]:GPUCallableStrictSignature
Defined in: packages/typegpu/src/types.ts:484
Inherited from
Section titled “Inherited from”WithCast.[$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]:"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”[$gpuCallable]()
Section titled “[$gpuCallable]()”[$gpuCallable](
ctx,args):Snippet
Defined in: packages/typegpu/src/types.ts:483
Parameters
Section titled “Parameters”ResolutionCtx
readonly [Snippet | undefined]
Returns
Section titled “Returns”Snippet
Inherited from
Section titled “Inherited from”WithCast.[$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.