Ejemplo 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);
        }
Ejemplo 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);
 }
Ejemplo n.º 3
0
 private static extern void INTERNAL_CALL_Internal_Cull(ref ScriptableCullingParameters parameters, ref ScriptableRenderContext renderLoop, ref CullResults results);
Ejemplo 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);
 }
Ejemplo n.º 5
0
 private static extern bool GetCullingParameters_Internal(Camera camera, bool stereoAware, out ScriptableCullingParameters cullingParameters, int managedCullingParametersSize);
Ejemplo 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);