You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
660 B
24 lines
660 B
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;
|
|
}
|
|
}
|
|
}
|