// SPDX-FileCopyrightText: 2023 Unity Technologies and the glTFast authors // SPDX-License-Identifier: Apache-2.0 using UnityEngine; namespace GLTFast.Schema { /// /// Extension for enabling GPU instancing, rendering many copies of a /// single mesh at once using a small number of draw calls. /// /// [System.Serializable] public class MeshGpuInstancing { /// /// Per-instance attributes collection /// [System.Serializable] public class Attributes { // ReSharper disable InconsistentNaming /// /// Instance positions accessor index /// public int TRANSLATION = -1; /// /// Instance rotations accessor index /// public int ROTATION = -1; /// /// Instance scales accessor index /// public int SCALE = -1; // ReSharper restore InconsistentNaming } /// public Attributes attributes; internal void GltfSerialize(JsonWriter writer) { throw new System.NotImplementedException(); } } }