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

            CullResults.Internal_Cull(ref parameters, renderLoop, out result);
            return(result);
        }
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Rendering.CullingParameters o;
         o = new UnityEngine.Experimental.Rendering.CullingParameters();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #3
0
 public void UpdateCullingParameters(ref CullingParameters parameters)
 {
     parameters.shadowDistance = Mathf.Min(m_Settings.maxShadowDistance, parameters.shadowDistance);
 }
Example #4
0
 private static extern void INTERNAL_CALL_Internal_Cull(ref CullingParameters parameters, ref ScriptableRenderContext renderLoop, out CullResults results);
Example #5
0
 internal static void Internal_Cull(ref CullingParameters parameters, ScriptableRenderContext renderLoop, out CullResults results)
 {
     CullResults.INTERNAL_CALL_Internal_Cull(ref parameters, ref renderLoop, out results);
 }
Example #6
0
 private static extern bool GetCullingParameters_Internal(Camera camera, out CullingParameters cullingParameters, int managedCullingParametersSize);
Example #7
0
 public static bool GetCullingParameters(Camera camera, out CullingParameters cullingParameters)
 {
     return(CullResults.GetCullingParameters_Internal(camera, out cullingParameters, sizeof(CullingParameters)));
 }