2021-04-24 03:06:03 +02:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
using UnityEngine.Rendering;
|
2021-04-26 00:44:43 +02:00
|
|
|
using UnityEngine.Rendering.Universal;
|
2021-04-24 03:06:03 +02:00
|
|
|
|
|
|
|
[CreateAssetMenu(menuName = "KernelPanic/Rendering/Glitch Render Pipeline Asset")]
|
|
|
|
public class GlitchRenderPipelineAsset : RenderPipelineAsset
|
|
|
|
{
|
2021-04-26 00:44:43 +02:00
|
|
|
[System.Serializable]
|
|
|
|
public class Settings
|
|
|
|
{
|
|
|
|
public ForwardRenderer forwardRenderer;
|
|
|
|
}
|
|
|
|
public Settings settings;
|
|
|
|
|
2021-04-24 03:06:03 +02:00
|
|
|
protected override RenderPipeline CreatePipeline()
|
|
|
|
{
|
|
|
|
return new GlitchRenderPipelineInstance();
|
|
|
|
}
|
|
|
|
}
|