|
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
using System; |
|
|
|
|
|
|
|
using UnityEditor; |
|
|
|
|
|
|
|
namespace UnityEngine.Experimental.ScriptableRenderLoop |
|
|
|
{ |
|
|
|
[ExecuteInEditMode] |
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
[MenuItem("Renderloop/CreateHDRenderLoop")] |
|
|
|
[UnityEditor.MenuItem("Renderloop/CreateHDRenderLoop")] |
|
|
|
static void CreateHDRenderLoop() |
|
|
|
{ |
|
|
|
var instance = ScriptableObject.CreateInstance<HDRenderLoop>(); |
|
|
|
|
|
|
// Post effects
|
|
|
|
} |
|
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
public override UnityEditor.SupportedRenderingFeatures GetSupportedRenderingFeatures() |
|
|
|
{ |
|
|
|
var features = new UnityEditor.SupportedRenderingFeatures |
|
|
|
|
|
|
|
|
|
|
return features; |
|
|
|
} |
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
} |
|
|
|
} |