docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsLWShader

    IsLWShader(Shader)

    Checks if a given shader is a URP shader or not.

    Declaration
    public static bool IsLWShader(Shader shader)
    Parameters
    Type Name Description
    Shader shader

    The shader.

    Returns
    Type Description
    bool

    True or false if it's a URP shader or not.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)