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