Skip to content

Commit 571e6cf

Browse files
svc-reach-platform-supportEvergreen
authored andcommitted
[Port] [6000.3] Document variable rate shading
1 parent e193740 commit 571e6cf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • Packages/com.unity.render-pipelines.core/Runtime/Vrs

Packages/com.unity.render-pipelines.core/Runtime/Vrs/Vrs.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ class VisualizationPassData
3838
/// <summary>
3939
/// Check if conversion of color texture to shading rate image is supported.
4040
/// Convenience to abstract all capabilities checks.
41+
///
42+
/// The `IsColorMaskTextureConversionSupported` method checks for the following:
43+
///- VRS hardware support through [ShadingRateInfo.supportsPerImageTile](xref:UnityEngine.Rendering.ShadingRateInfo.supportsPerImageTile). The `supportsPerImageTile` property determines whether your GPU can define different quality levels to different tiles.
44+
///- Compute shader support through [SystemInfo.supportsComputeShaders](xref:UnityEngine.Device.SystemInfo.supportsComputeShaders)
45+
///- Proper initialization of VRS utility functions and compute shaders required for converting color textures to shading rate image (SRI). This is automatically handled by the render pipeline. However, for custom implementations, you must call <see cref="InitializeResources"/> manually.
4146
/// </summary>
4247
/// <returns>Returns true if conversion of color texture to shading rate image is supported, false otherwise.</returns>
4348
public static bool IsColorMaskTextureConversionSupported()

0 commit comments

Comments
 (0)