TgpuVertexFormatData
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>>
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”WithCast.[$cast]
Defined in
Section titled “Defined in”packages/typegpu/src/types.ts:351
[$gpuCallable]
Section titled “[$gpuCallable]”[$gpuCallable]:
object
strictSignature?
Section titled “strictSignature?”
optionalstrictSignature:object
strictSignature.argTypes
Section titled “strictSignature.argTypes”strictSignature.returnType
Section titled “strictSignature.returnType”returnType:
BaseData
call()
Section titled “call()”Parameters
Section titled “Parameters”ResolutionCtx
[Snippet]
Returns
Section titled “Returns”Snippet
Inherited from
Section titled “Inherited from”WithCast.[$gpuCallable]
Defined in
Section titled “Defined in”packages/typegpu/src/types.ts:340
[$internal]
Section titled “[$internal]”
readonly[$internal]:Record<string,unknown>
Inherited from
Section titled “Inherited from”Defined in
Section titled “Defined in”packages/typegpu/src/data/wgslTypes.ts:40
[$invalidSchemaReason]
Section titled “[$invalidSchemaReason]”
readonly[$invalidSchemaReason]:"Vertex formats are not host-shareable, use concrete types instead"
Defined in
Section titled “Defined in”packages/typegpu/src/data/vertexFormatData.ts:39
[$repr]
Section titled “[$repr]”
readonly[$repr]:Infer<FormatToWGSLType<T>>
Overrides
Section titled “Overrides”Defined in
Section titled “Defined in”packages/typegpu/src/data/vertexFormatData.ts:37
[$validVertexSchema]
Section titled “[$validVertexSchema]”
readonly[$validVertexSchema]:true
Defined in
Section titled “Defined in”packages/typegpu/src/data/vertexFormatData.ts:38
readonlytype:T
Overrides
Section titled “Overrides”Defined in
Section titled “Defined in”packages/typegpu/src/data/vertexFormatData.ts:34
Methods
Section titled “Methods”toString()
Section titled “toString()”toString():
string
Returns
Section titled “Returns”string