18 lines
496 B
C#
18 lines
496 B
C#
using System;
|
|
using System.IO;
|
|
|
|
namespace ReFuel.Gltf
|
|
{
|
|
/// <summary>
|
|
/// Provides users with special stream opening logic.
|
|
/// </summary>
|
|
public interface IGltfStreamProvider
|
|
{
|
|
/// <summary>
|
|
/// Open the file at the given URI.
|
|
/// </summary>
|
|
/// <param name="pwd">The present working directory of the file.</param>
|
|
/// <param name="uri">The URI of the file to open</param>
|
|
public Stream? OpenFile(string? pwd, Uri uri);
|
|
}
|
|
} |