Class HDEditorUtils
A collection of utilities used by editor code of the HDRP.
Namespace: UnityEditor.Rendering.HighDefinition
Syntax
public class HDEditorUtils
Methods
ResetMaterialKeywords(Material)
Reset the dedicated Keyword and Pass regarding the shader kind. Also re-init the drawers and set the material dirty for the engine.
Declaration
[Obsolete("Use HDShaderUtils.ResetMaterialKeywords instead")]
public static bool ResetMaterialKeywords(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material | The material that nees to be setup |
Returns
Type | Description |
---|---|
Boolean | True: managed to do the operation. False: unknown shader used in material |