// SPDX-FileCopyrightText: 2023 Unity Technologies and the glTFast authors // SPDX-License-Identifier: Apache-2.0 using System; namespace GLTFast.Schema { /// /// A view into a buffer generally representing a subset of the buffer. /// public interface IBufferView { /// /// The index of the buffer. /// int Buffer { get; } /// /// The offset into the buffer in bytes. /// int ByteOffset { get; } /// /// The length of the bufferView in bytes. /// int ByteLength { get; } /// /// The stride, in bytes, between vertex attributes. /// /// When this is 0 or negative, data is tightly packed. int ByteStride { get; } } }