20 lines
292 B
C#
20 lines
292 B
C#
using System;
|
|
|
|
namespace UnityGLTF.Cache
|
|
{
|
|
public class BufferCacheData : IDisposable
|
|
{
|
|
public uint ChunkOffset { get; set; }
|
|
public System.IO.Stream Stream { get; set; }
|
|
|
|
public void Dispose()
|
|
{
|
|
if (Stream != null)
|
|
{
|
|
Stream.Dispose();
|
|
Stream = null;
|
|
}
|
|
}
|
|
}
|
|
}
|