docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ShaderKeywords

    Stores the enabled and disabled shader keywords for a material.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public struct ShaderKeywords

    Constructors

    ShaderKeywords(ReadOnlyCollection<string>, ReadOnlyCollection<string>)

    Constructs a ShaderKeywords.

    Declaration
    public ShaderKeywords(ReadOnlyCollection<string> enabledKeywords = null, ReadOnlyCollection<string> disabledKeywords = null)
    Parameters
    Type Name Description
    ReadOnlyCollection<string> enabledKeywords

    The enabled shader keywords.

    ReadOnlyCollection<string> disabledKeywords

    The disabled shader keywords.

    See Also
    https://docs.unity3d.com/Manual/shader-keywords.html

    Properties

    disabledKeywords

    The disabled shader keywords.

    Declaration
    public readonly ReadOnlyCollection<string> disabledKeywords { get; }
    Property Value
    Type Description
    ReadOnlyCollection<string>
    See Also
    https://docs.unity3d.com/Manual/shader-keywords.html

    enabledKeywords

    The enabled shader keywords.

    Declaration
    public readonly ReadOnlyCollection<string> enabledKeywords { get; }
    Property Value
    Type Description
    ReadOnlyCollection<string>
    See Also
    https://docs.unity3d.com/Manual/shader-keywords.html

    See Also

    https://docs.unity3d.com/Manual/shader-keywords.html
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)