Esempio n. 1
0
        public static CullResults Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop)
        {
            CullResults result = default(CullResults);

            CullResults.Cull(ref parameters, renderLoop, ref result);
            return(result);
        }
Esempio n. 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);
 }
Esempio n. 3
0
 private static extern void INTERNAL_CALL_Internal_Cull(ref ScriptableCullingParameters parameters, ref ScriptableRenderContext renderLoop, ref CullResults results);
Esempio n. 4
0
 internal static void Internal_Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop, ref CullResults results)
 {
     CullResults.INTERNAL_CALL_Internal_Cull(ref parameters, ref renderLoop, ref results);
 }
Esempio n. 5
0
 private static extern bool GetCullingParameters_Internal(Camera camera, bool stereoAware, out ScriptableCullingParameters cullingParameters, int managedCullingParametersSize);
Esempio n. 6
0
 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);