docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetGlobalShaderKeywords

    SetGlobalShaderKeywords(MaterialQuality)

    Set the global keyword for the provided MaterialQuality.

    Declaration
    public static void SetGlobalShaderKeywords(this MaterialQuality level)
    Parameters
    Type Name Description
    MaterialQuality level

    MaterialQuality level to set the keyword for.

    SetGlobalShaderKeywords(MaterialQuality, CommandBuffer)

    Set the global keyword for the provided MaterialQuality.

    Declaration
    public static void SetGlobalShaderKeywords(this MaterialQuality level, CommandBuffer cmd)
    Parameters
    Type Name Description
    MaterialQuality level

    MaterialQuality level to set the keyword for.

    CommandBuffer cmd

    Command Buffer used to setup the keyword.

    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)