docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SkipShader

    SkipShader(TShader, TShaderVariant)

    Returns if the TShader for the current TShaderVariant is skipped for stripping

    Declaration
    bool SkipShader(TShader shader, TShaderVariant shaderVariant)
    Parameters
    Type Name Description
    TShader shader

    The shader

    TShaderVariant shaderVariant

    The variant

    Returns
    Type Description
    bool

    true, if the shader can be skipped

    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)