Example #1
0
        public static CullResults Cull(ref CullingParameters parameters, ScriptableRenderContext renderLoop)
        {
            CullResults result;

            CullResults.Internal_Cull(ref parameters, renderLoop, out result);
            return(result);
        }
Example #2
0
 public static void Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop, ref CullResults results)
 {
     if (results.visibleLights == null || results.visibleOffscreenVertexLights == null || results.visibleReflectionProbes == null)
     {
         results.Init();
     }
     CullResults.Internal_Cull(ref parameters, renderLoop, ref results);
 }