Class MaterialQualityUtilities
Material Quality utility class.
Inherited Members
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. |