using UnityEngine.Rendering;
namespace UnityEngine.XR.ARSubsystems
{
///
/// A utilities class for containing universally useful Rendering operations and information
/// for rendering AR.
///
public static class ARRenderingUtils
{
static bool? s_UseLegacyRenderPipeline;
///
/// Whether to use the legacy rendering pipeline.
///
///
/// true if the legacy render pipeline is in use. Otherwise, false.
///
public static bool useLegacyRenderPipeline => s_UseLegacyRenderPipeline ??= GraphicsSettings.currentRenderPipeline == null;
}
}