docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetKeyword

    SetKeyword(ref GlobalKeyword, bool)

    Wraps SetKeyword on a CommandBuffer.

    Declaration
    public void SetKeyword(ref GlobalKeyword keyword, bool value)
    Parameters
    Type Name Description
    GlobalKeyword keyword

    See CommandBuffer documentation

    bool value

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetKeyword(ref GlobalKeyword, bool)

    SetKeyword(Material, ref LocalKeyword, bool)

    Wraps SetKeyword on a CommandBuffer.

    Declaration
    public void SetKeyword(Material material, ref LocalKeyword keyword, bool value)
    Parameters
    Type Name Description
    Material material

    See CommandBuffer documentation

    LocalKeyword keyword

    See CommandBuffer documentation

    bool value

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetKeyword(Material, ref LocalKeyword, bool)

    SetKeyword(ComputeShader, ref LocalKeyword, bool)

    Wraps SetKeyword on a CommandBuffer.

    Declaration
    public void SetKeyword(ComputeShader computeShader, ref LocalKeyword keyword, bool value)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    LocalKeyword keyword

    See CommandBuffer documentation

    bool value

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetKeyword(ComputeShader, ref LocalKeyword, bool)
    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)