mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 23:06:14 +08:00
serialize texture extensions
This commit is contained in:
parent
fa7022f364
commit
9eae110946
@ -3745,6 +3745,7 @@ static void SerializeGltfTexture(Texture &texture, json &o) {
|
|||||||
json extras;
|
json extras;
|
||||||
SerializeValue("extras", texture.extras, o);
|
SerializeValue("extras", texture.extras, o);
|
||||||
}
|
}
|
||||||
|
SerializeExtensionMap(texture.extensions, o);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void WriteGltfFile(const std::string &output,
|
static void WriteGltfFile(const std::string &output,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user