disable fast shadow
if (compositorFrame != null && compositorFrame.raster(layerTree, false)) {
frame.submit();
this._fireNextFrameCallbackIfPresent();
AllocDebugger.onFrameEnd();
return false;
}
namespace Unity.UIWidgets.ui {
static class ShadowUtils {
public const bool kUseFastShadow = true;
public const bool kUseFastShadow = false;
const float kAmbientHeightFactor = 1.0f / 128.0f;
const float kAmbientGeomFactor = 64.0f;
public static class AllocDebugger {
public const bool enableDebugging = true;
public const bool enableDebugging = false;
static int allocCount = 0;
using System;
using System.Collections.Generic;
using Unity.UIWidgets.foundation;
using Unity.UIWidgets.material;
using UnityEngine;
using UnityEngine.Rendering;