Function getVertexOutputStruct
- getVertexOutputStruct(
parameters: {
geometry: Geometry;
additionalVaryings?: { type: string; name: string }[];
},
): string Parameters
- parameters: { geometry: Geometry; additionalVaryings?: { type: string; name: string }[] }
Optional
additionalVaryings?: { type: string; name: string }[]
Returns string
- String with the vertex shader WGSL output struct.
Get the vertex shader WGSL output struct using getVertexOutputStructContent.