namespace UnityEngine.Rendering.Universal
{
///
/// Utility class for component checks.
///
public static class ComponentUtility
{
/// Check if the provided camera is compatible with Universal Render Pipeline
/// The Camera to check
/// True if it is compatible, false otherwise
public static bool IsUniversalCamera(Camera camera)
=> camera.GetComponent() != null;
/// Check if the provided light is compatible with Universal Render Pipeline
/// The Light to check
/// True if it is compatible, false otherwise
public static bool IsUniversalLight(Light light)
=> light.GetComponent() != null;
}
}