ReFuel.Gltf/ReFuel.Gltf/GltfEmptyExtensionProvider.cs
2025-10-12 14:33:16 +03:00

28 lines
610 B
C#
Executable File

using System;
using System.Text.Json;
namespace ReFuel.Gltf
{
public class GltfEmptyExtensionProvider : IGltfExtensionProvider
{
public string Name { get; }
public Type? DataType { get; } = null;
public GltfEmptyExtensionProvider(string name)
{
Name = name;
}
public object ParseExtensionObject(JsonElement element)
{
throw new NotSupportedException();
}
public void WriteExtensionObject(object obj, Utf8JsonWriter writer)
{
throw new NotSupportedException();
}
}
}