Get the vertex shader WGSL output struct using getVertexOutputStructContent.

  • Parameters

    • parameters: { geometry: Geometry; additionalVaryings?: { type: string; name: string }[] }

      Parameters used to generate the vertex shader WGSL output struct.

      • geometry: Geometry

        Geometry used to generate the struct from its attributes.

      • OptionaladditionalVaryings?: { type: string; name: string }[]

        Optional additional varyings to pass from the vertex shader to the fragment shader.

    Returns string

    • String with the vertex shader WGSL output struct.