Function glsl

  • A template literal tag that does nothing. Useful for syntax highlighting of GLSL code.

    Example

    const vertexShader = glsl`
    void main() {}
    `

    Parameters

    • strings: any
    • Rest ...rest: any[]

    Returns string

Generated using TypeDoc