namespace UnityEditor.Rendering { /// Camera UI Shared Properties among SRP public static partial class CameraUI { public static partial class Rendering { /// Draws Stop NaNs related fields on the inspector /// The serialized camera /// The editor owner calling this drawer public static void Drawer_Rendering_StopNaNs(ISerializedCamera p, Editor owner) { EditorGUILayout.PropertyField(p.stopNaNs, Styles.stopNaNs); } /// Draws Dithering related fields on the inspector /// The serialized camera /// The editor owner calling this drawer public static void Drawer_Rendering_Dithering(ISerializedCamera p, Editor owner) { EditorGUILayout.PropertyField(p.dithering, Styles.dithering); } /// Draws Culling mask related fields on the inspector /// The serialized camera /// The editor owner calling this drawer public static void Drawer_Rendering_CullingMask(ISerializedCamera p, Editor owner) { EditorGUILayout.PropertyField(p.baseCameraSettings.cullingMask, Styles.cullingMask); } /// Draws occlusion Culling related fields on the inspector /// The serialized camera /// The editor owner calling this drawer public static void Drawer_Rendering_OcclusionCulling(ISerializedCamera p, Editor owner) { EditorGUILayout.PropertyField(p.baseCameraSettings.occlusionCulling, Styles.occlusionCulling); } } } }