Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ProcessRenderRequests<RequestData>(ScriptableRenderContext, Camera, RequestData)

Executes RenderRequests submitted using SubmitRenderRequests.
Read time 1 minuteLast updated 6 days ago

Definition

ProcessRenderRequests<T>(ScriptableRenderContext, Camera, T)

protected virtual void ProcessRenderRequests<RequestData>(ScriptableRenderContext context, Camera camera, RequestData renderRequest)

Parameters


camera


renderRequest

T

Remarks

Unity calls this method when the user calls SubmitRenderRequests.
If the active
RenderPipeline
implements this method, Unity updates the RenderTexture assigned to the
results
property of each RenderRequest with the requested data.
If the active
RenderPipeline
does not implement this method, Unity does nothing; it performs a no-op, and every RenderRequests remains in the same state.
If you are creating a custom Scriptable Render Pipeline you must ensure that you implement this method as described, or do not implement it.