Rasagar/Library/PackageCache/com.unity.render-pipelines.high-definition/Editor/RenderPipeline/CustomPass/ObjectIDCustomPassDrawer.cs
2024-08-26 23:07:20 +03:00

25 lines
660 B
C#

using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using UnityEditorInternal;
using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;
using System.Linq;
using System;
namespace UnityEditor.Rendering.HighDefinition
{
/// <summary>
/// Custom drawer for the draw renderers pass
/// </summary>
[CustomPassDrawerAttribute(typeof(ObjectIDCustomPass))]
class ObjectIDCustomPassDrawer : DrawRenderersCustomPassDrawer
{
protected override void Initialize(SerializedProperty customPass)
{
base.Initialize(customPass);
showMaterialOverride = false;
}
}
}