namespace UnityEngine.Rendering.Universal
{
///
/// Invokes OnRenderObject callback
///
internal class InvokeOnRenderObjectCallbackPass : ScriptableRenderPass
{
public InvokeOnRenderObjectCallbackPass(RenderPassEvent evt)
{
renderPassEvent = evt;
}
///
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
{
context.InvokeOnRenderObjectCallback();
}
}
}