diff --git a/src/AcDream.App/Rendering/Scene/RenderFrameProduct.cs b/src/AcDream.App/Rendering/Scene/RenderFrameProduct.cs index 0a3d2569..c7e7a47a 100644 --- a/src/AcDream.App/Rendering/Scene/RenderFrameProduct.cs +++ b/src/AcDream.App/Rendering/Scene/RenderFrameProduct.cs @@ -170,17 +170,6 @@ internal readonly struct RenderFrameView public ReadOnlySpan RouteRanges => Arena.RouteRanges; - public PortalVisibilityFrame? PortalFrame => Arena.PortalFrame; - - public ClipFrameAssembly? ClipAssembly => Arena.ClipAssembly; - - /// - /// Exact portal-view cones captured by the retail frame walk for each - /// building look-in turn. The packed dispatcher consumes these at - /// per-GfxObj granularity, matching RenderDeviceD3D::DrawMesh. - /// - public IWalkLookInViewSource? WalkLookInViews => Arena.WalkLookInViews; - public RenderFrameDiagnosticCounts DiagnosticCounts => Arena.DiagnosticCounts; @@ -251,12 +240,6 @@ internal sealed class RenderFrameArena public ulong FrameSequence { get; private set; } - public PortalVisibilityFrame? PortalFrame { get; private set; } - - public ClipFrameAssembly? ClipAssembly { get; private set; } - - public IWalkLookInViewSource? WalkLookInViews { get; private set; } - public RenderSceneDigest SourceDigest { get; private set; } public RenderFrameDiagnosticCounts DiagnosticCounts => @@ -336,9 +319,6 @@ internal sealed class RenderFrameArena _routeRangeCount = 0; _opaqueClassificationCount = 0; _alphaClassificationCount = 0; - PortalFrame = null; - ClipAssembly = null; - WalkLookInViews = null; SourceDigest = default; _sourceDigestSet = false; Generation = generation; @@ -349,18 +329,6 @@ internal sealed class RenderFrameArena return _epoch; } - internal void SetBorrowedProducts( - ulong epoch, - PortalVisibilityFrame? portalFrame, - ClipFrameAssembly? clipAssembly, - IWalkLookInViewSource? walkLookInViews) - { - EnsureBuilding(epoch); - PortalFrame = portalFrame; - ClipAssembly = clipAssembly; - WalkLookInViews = walkLookInViews; - } - internal void SetSourceDigest(ulong epoch, in RenderSceneDigest digest) { EnsureBuilding(epoch); @@ -560,9 +528,6 @@ internal sealed class RenderFrameArena { EnsureBuilding(epoch); ClearReferenceStorage(); - PortalFrame = null; - ClipAssembly = null; - WalkLookInViews = null; SourceDigest = default; _sourceDigestSet = false; _state = ArenaState.Available; @@ -667,16 +632,6 @@ internal readonly struct RenderFrameWriter _epoch = epoch; } - public void SetBorrowedProducts( - PortalVisibilityFrame? portalFrame, - ClipFrameAssembly? clipAssembly, - IWalkLookInViewSource? walkLookInViews = null) => - Arena.SetBorrowedProducts( - _epoch, - portalFrame, - clipAssembly, - walkLookInViews); - public void SetSourceDigest(in RenderSceneDigest digest) => Arena.SetSourceDigest(_epoch, in digest);