using System.Collections.Generic; using UnityEngine; namespace Core.BRG { [System.Serializable] public class BRGSamples { public Mesh Mesh; public Material Material; public List AllShaderValues = new List(); public bool castShadows; public bool receiveShadows; public bool staticShadowCaster; public bool allDepthSorted; public int GetAllShaderValueSize() { int totalSize = 0; foreach (var shaderValue in AllShaderValues) { totalSize += shaderValue.GetSize(); } return totalSize; } } }