Get the fragment shader WGSL input struct using getVertexOutputStructContent.

  • Parameters

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

      Parameters used to generate the fragment shader WGSL input struct.

      • geometry: Geometry

        Geometry used to generate the struct from its attributes.

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

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

    Returns string

    • String with the fragment shader WGSL input struct.