public static CullResults Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop) { CullResults result = default(CullResults); CullResults.Cull(ref parameters, renderLoop, ref 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); }
private static extern void INTERNAL_CALL_Internal_Cull(ref ScriptableCullingParameters parameters, ref ScriptableRenderContext renderLoop, ref CullResults results);
internal static void Internal_Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop, ref CullResults results) { CullResults.INTERNAL_CALL_Internal_Cull(ref parameters, ref renderLoop, ref results); }
private static extern bool GetCullingParameters_Internal(Camera camera, bool stereoAware, out ScriptableCullingParameters cullingParameters, int managedCullingParametersSize);
public static bool GetCullingParameters(Camera camera, bool stereoAware, out ScriptableCullingParameters cullingParameters) { return(CullResults.GetCullingParameters_Internal(camera, stereoAware, out cullingParameters, sizeof(ScriptableCullingParameters))); }
unsafe public static bool GetCullingParameters(Camera camera, out ScriptableCullingParameters cullingParameters) { return(GetCullingParameters_Internal(camera, false, out cullingParameters, sizeof(ScriptableCullingParameters))); }
extern static internal void Internal_Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop, ref CullResults results);