Files
adriadri6972 d3d9c5f833 upload project
2025-07-31 15:21:08 +02:00

24 lines
622 B
C#

using System;
using UnityEngine.XR.ARSubsystems;
namespace UnityEngine.XR.ARFoundation
{
interface IUpdatableTexture : IEquatable<IUpdatableTexture>, IDisposable
{
internal XRTextureDescriptor descriptor { get; }
internal Texture texture { get; }
public bool TryUpdateFromDescriptor(XRTextureDescriptor descriptor);
public void DestroyTexture();
bool IEquatable<IUpdatableTexture>.Equals(IUpdatableTexture other)
{
return other != null
&& descriptor == other.descriptor
&& texture == other.texture;
}
}
}