// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; namespace Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema { /// /// A buffer points to binary geometry, animation, or skins. /// https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/schema/buffer.schema.json /// [Serializable] public class GltfBuffer : GltfChildOfRootProperty { /// /// The uri of the buffer. /// Relative paths are relative to the .gltf file. /// Instead of referencing an external file, the uri can also be a data-uri. /// public string uri; /// /// The length of the buffer in bytes. /// 0 /// public int byteLength = 0; public byte[] BufferData { get; internal set; } } }