mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
18 lines
416 B
C#
18 lines
416 B
C#
using Microsoft.JavaScript.NodeApi;
|
|
using SharpGLTF.Materials;
|
|
|
|
namespace BlitzKit.Game.JSExport;
|
|
|
|
[JSExport]
|
|
public readonly struct MappedGltf
|
|
{
|
|
public string Json { get; }
|
|
public Dictionary<string, Dictionary<KnownChannel, string>> TextureMap { get; }
|
|
|
|
public MappedGltf(string json, Dictionary<string, Dictionary<KnownChannel, string>> textureMap)
|
|
{
|
|
Json = json;
|
|
TextureMap = textureMap;
|
|
}
|
|
}
|