ProcessRenderRequests<RequestData>(ScriptableRenderContext, Camera, RequestData)
Executes RenderRequests submitted using SubmitRenderRequests.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
ProcessRenderRequests<T>(ScriptableRenderContext, Camera, T)
protected virtual void ProcessRenderRequests<RequestData>(ScriptableRenderContext context, Camera camera, RequestData renderRequest)
Parameters
Remarks
Unity calls this method when the user calls SubmitRenderRequests.
If the active implements this method, Unity updates the RenderTexture assigned to the property of each RenderRequest with the requested data.
RenderPipelineresultsIf the active does not implement this method, Unity does nothing; it performs a no-op, and every RenderRequests remains in the same state.
RenderPipelineIf you are creating a custom Scriptable Render Pipeline you must ensure that you implement this method as described, or do not implement it.
Additional Resources: RenderPipeline.SupportsRenderRequest, RenderPipeline.SubmitRenderRequest.