Version: 1.11
LanguageEnglish
  • C#

PreparedRendererProxy

struct in UnityEngine.Rendering

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Represents renderer draw data prepared by a ScriptableRenderContext.

Create a PreparedRendererProxy with ScriptableRenderContext.CreatePreparedRendererProxy and draw it with CommandBuffer.DrawPreparedRenderer.

The proxy represents a fixed snapshot owned by the ScriptableRenderContext that created it. It does not track later Renderer or Material changes and cannot be cached across contexts or frames. PreparedRendererProxy is only supported when parallel rendering is enabled.

Static Properties

nullPreparedRendererProxyReturns an invalid PreparedRendererProxy.

Properties

isValidIndicates whether the proxy is structurally initialized.