Alexandria.Engines.DarkSouls.ModelMesh.ReadDetailLevels C# (CSharp) Method

ReadDetailLevels() private method

private ReadDetailLevels ( AssetLoader loader, int dataOffset, ArrayBackedList bufferData ) : void
loader Glare.Assets.AssetLoader
dataOffset int
bufferData ArrayBackedList
return void
        internal void ReadDetailLevels(AssetLoader loader, int dataOffset, ArrayBackedList<byte> bufferData)
        {
            var detailLevels = new Codex<ModelDetailLevel>();
            DetailLevels = detailLevels;
            for (int index = 0; index < PartCount; index++)
                detailLevels.Add(new ModelDetailLevel(this, index, loader, dataOffset, bufferData));
        }