docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MaterialQualityUtilities

    Material Quality utility class.

    Inheritance
    object
    MaterialQualityUtilities
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [MovedFrom("Utilities")]
    public static class MaterialQualityUtilities

    Fields

    Name Description
    EnumNames

    String representation of the MaterialQuality enum.

    KeywordNames

    Keywords strings for Material Quality levels.

    Keywords

    Keywords for Material Quality levels.

    Methods

    Name Description
    FromIndex(int)

    Returns the enum equivalent of the index in the MaterialQuality enum list.

    GetClosestQuality(MaterialQuality, MaterialQuality)

    Returns the closest available quality level in a MaterialQuality bitfield.

    GetHighestQuality(MaterialQuality)

    Returns the highest available quality level in a MaterialQuality bitfield.

    SetGlobalShaderKeywords(MaterialQuality)

    Set the global keyword for the provided MaterialQuality.

    SetGlobalShaderKeywords(MaterialQuality, CommandBuffer)

    Set the global keyword for the provided MaterialQuality.

    ToFirstIndex(MaterialQuality)

    Returns the index (in the MaterialQuality enum) of the first available level.

    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)