You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
637 B
21 lines
637 B
namespace UnityEngine.Rendering.Universal |
|
{ |
|
/// <summary> |
|
/// Invokes OnRenderObject callback |
|
/// </summary> |
|
|
|
internal class InvokeOnRenderObjectCallbackPass : ScriptableRenderPass |
|
{ |
|
public InvokeOnRenderObjectCallbackPass(RenderPassEvent evt) |
|
{ |
|
base.profilingSampler = new ProfilingSampler(nameof(InvokeOnRenderObjectCallbackPass)); |
|
renderPassEvent = evt; |
|
} |
|
|
|
/// <inheritdoc/> |
|
public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData) |
|
{ |
|
context.InvokeOnRenderObjectCallback(); |
|
} |
|
} |
|
}
|
|
|