gpu-curtains
    Preparing search index...

    Base parameters used to build a fragment shader.

    interface FragmentShaderInputBaseParams {
        additionalVaryings?: { type: string; name: string }[];
        fragmentOutput?: FragmentOutput;
    }

    Hierarchy (View Summary)

    Index
    additionalVaryings?: { type: string; name: string }[]

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

    Type Declaration

    • type: string

      type of the varying.

    • name: string

      name of the varying.

    fragmentOutput?: FragmentOutput

    Custom fragment shader output structure members and returned values to use if needed. Useful when rendering to a Multiple Render Target for example.