public static CullResults Cull(ref CullingParameters parameters, ScriptableRenderContext renderLoop) { CullResults result; CullResults.Internal_Cull(ref parameters, renderLoop, out result); return(result); }
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); }