Skip to content

Commit 4bfff05

Browse files
Fix HDRP VT test compilation. (#650)
* Changed use of VT.System namespace to VT.Streaming namespace where the API has changed. * Updated min Unity versions of SRP packages to 2020.2.0a14 * Fixed compilation of HDRP VT test Co-authored-by: Nico Leyman <[email protected]>
1 parent 5a2b248 commit 4bfff05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TestProjects/HDRP_RuntimeTests/Assets/Scenes/003-VirtualTexturing/LowResolutionRequester.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void Update()
4545
{
4646
foreach (int prop in properties)
4747
{
48-
UnityEngine.Rendering.VirtualTexturing.System.RequestRegion(materialToRequest, prop, new Rect(0.0f, 0.0f, 1.0f, 1.0f), firstMipToRequest, UnityEngine.Rendering.VirtualTexturing.System.AllMips);
48+
UnityEngine.Rendering.VirtualTexturing.Streaming.RequestRegion(materialToRequest, prop, new Rect(0.0f, 0.0f, 1.0f, 1.0f), firstMipToRequest, UnityEngine.Rendering.VirtualTexturing.System.AllMips);
4949
}
5050
}
5151
#endif

0 commit comments

Comments
 (0)