Documentation
    Preparing search index...

    Function frag

    • Provides the input as-is.

      This method exists only to make use of the template string tag in code, which allows us to use in-IDE support for GLSL, even if there is no build process to interpret the tag.

      Parameters

      • input: TemplateStringsArray

        Should only be the source of a fragment shader.

      Returns string

      The fragment shader as-is.