Files
Hasebe/Library/PackageCache/com.unity.addressables@42676f2a154e/Editor/Diagnostics/Profiler/FrameDataViewRef.cs
T
2026-09-21 12:15:57 +03:00

25 lines
573 B
C#

using System;
using UnityEditor.Profiling;
namespace UnityEditor.AddressableAssets.Diagnostics
{
// this is a wrapper to make it possible to pass around context for testing
internal class FrameDataViewRef : IDisposable
{
public int frameIndex { get; set; }
public int threadIndex { get; set; }
public FrameDataView frameDataView { get; set; }
public bool valid { get; set; }
public FrameDataViewRef()
{
}
public void Dispose()
{
frameDataView?.Dispose();
}
}
}