| 1234567891011121314151617181920212223242526 | 
							- using System.Collections.Generic;
 
- using UnityEngine;
 
- namespace Core.BRG
 
- {
 
-     [System.Serializable]
 
-     public class BRGSamples
 
-     {
 
-         public Mesh Mesh;
 
-         public Material Material;
 
-         public List<BRGShaderValue> AllShaderValues = new List<BRGShaderValue>();
 
-         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;
 
-         }
 
-     }
 
- }
 
 
  |