You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -394,9 +395,9 @@ public void Reset(RenderGraphPass pass, int index)
394
395
}
395
396
396
397
/// <summary>
397
-
/// Enable the use of the render pass API by the graph instead of traditional SetRenderTarget. This is an advanced
398
-
/// feature and users have to be aware of the specific impact it has on rendergraph/graphics APIs below.
399
-
///
398
+
/// Enable the use of the render pass API instead of the traditional SetRenderTarget workflow for AddRasterRenderPass() API. Enabled by default since 6000.3.
399
+
/// </summary>
400
+
/// <remarks>
400
401
/// When enabled, the render graph try to use render passes and supasses instead of relying on SetRendertarget. It
401
402
/// will try to aggressively optimize the number of BeginRenderPass+EndRenderPass calls as well as calls to NextSubPass.
402
403
/// This with the aim to maximize the time spent "on chip" on tile based renderers.
@@ -416,11 +417,8 @@ public void Reset(RenderGraphPass pass, int index)
416
417
///
417
418
/// Note: that CommandBuffer.BeginRenderPass/EndRenderPass calls are different by design from SetRenderTarget so this could also have
418
419
/// effects outside of render graph (e.g. for code relying on the currently active render target as this will not be updated when using render passes).
@@ -547,7 +545,7 @@ public RenderGraphDefaultResources defaultResources
547
545
/// <summary>
548
546
/// Render Graph constructor.
549
547
/// </summary>
550
-
/// <param name="name">Optional name used to identify the render graph instnace.</param>
548
+
/// <param name="name">Optional name used to identify the render graph instance.</param>
551
549
publicRenderGraph(stringname="RenderGraph")
552
550
{
553
551
this.name=name;
@@ -843,6 +841,7 @@ public TextureHandle CreateTexture(in TextureDesc desc)
843
841
/// <param name="desc">Creation descriptor of the texture.</param>
844
842
/// <param name="explicitRelease">Set to true if you want to manage the lifetime of the resource yourself. Otherwise the resource will be released automatically if unused for a time.</param>
845
843
/// <returns>A new TextureHandle.</returns>
844
+
[Obsolete("CreateSharedTexture() and shared texture workflow are deprecated, use ImportTexture() workflow instead.")]
@@ -873,6 +873,7 @@ public void RefreshSharedTextureDesc(TextureHandle handle, in TextureDesc desc)
873
873
/// This API should not be used with URP NRP Render Graph. This API cannot be called when Render Graph is active, please call it outside of RecordRenderGraph().
874
874
/// </remarks>
875
875
/// <param name="texture">The handle to the texture that needs to be release.</param>
876
+
[Obsolete("ReleaseSharedTexture() and shared texture workflow are deprecated, use ImportTexture() workflow instead.")]
@@ -1431,6 +1432,7 @@ public IUnsafeRenderGraphBuilder AddUnsafePass<PassData>(string passName, out Pa
1431
1432
/// <param name="file">File name of the source file this function is called from. Used for debugging. This parameter is automatically generated by the compiler. Users do not need to pass it.</param>
1432
1433
/// <param name="line">File line of the source file this function is called from. Used for debugging. This parameter is automatically generated by the compiler. Users do not need to pass it.</param>
1433
1434
/// <returns>A new instance of a RenderGraphBuilder used to setup the new Render Pass.</returns>
1435
+
[Obsolete("AddRenderPass() is deprecated, use AddRasterRenderPass/AddComputePass/AddUnsafePass() instead.")]
@@ -1467,6 +1469,7 @@ public RenderGraphBuilder AddRenderPass<PassData>(string passName, out PassData
1467
1469
/// <param name="file">File name of the source file this function is called from. Used for debugging. This parameter is automatically generated by the compiler. Users do not need to pass it.</param>
1468
1470
/// <param name="line">File line of the source file this function is called from. Used for debugging. This parameter is automatically generated by the compiler. Users do not need to pass it.</param>
1469
1471
/// <returns>A new instance of a RenderGraphBuilder used to setup the new Render Pass.</returns>
1472
+
[Obsolete("AddRenderPass() is deprecated, use AddRasterRenderPass/AddComputePass/AddUnsafePass() instead.")]
Copy file name to clipboardExpand all lines: Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/HDRenderPipeline.RenderGraph.cs
0 commit comments