feat: added htrace

This commit is contained in:
Chris
2026-01-02 23:27:08 -05:00
parent dfff4e6f1d
commit 20f1fbb211
203 changed files with 17634 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
//pipelinedefine
#define H_URP
#if UNITY_EDITOR
using HTraceSSGI.Scripts.Infrastructure.URP;
using UnityEditor;
using UnityEditor.Rendering.Universal;
namespace HTraceSSGI.Scripts.Editor
{
[CustomEditor(typeof(HTraceSSGIRendererFeature))]
public class HTraceSSGIRendererFeatureEditor : ScriptableRendererFeatureEditor
{
SerializedProperty useVolumes;
private void OnEnable()
{
useVolumes = serializedObject.FindProperty("UseVolumes");
}
public override void OnInspectorGUI()
{
serializedObject.Update();
EditorGUILayout.PropertyField(useVolumes);
serializedObject.ApplyModifiedProperties();
}
}
}
#endif