No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UniversalRenderPipelineCameraUI.Output.Skin.cs 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using UnityEngine;
  2. namespace UnityEditor.Rendering.Universal
  3. {
  4. static partial class UniversalRenderPipelineCameraUI
  5. {
  6. public partial class Output
  7. {
  8. public class Styles
  9. {
  10. #if ENABLE_VR && ENABLE_XR_MODULE
  11. public static GUIContent[] xrTargetEyeOptions =
  12. {
  13. EditorGUIUtility.TrTextContent("None"),
  14. EditorGUIUtility.TrTextContent("Both"),
  15. };
  16. public static int[] xrTargetEyeValues = { 0, 1 };
  17. public static readonly GUIContent xrTargetEye = EditorGUIUtility.TrTextContent("Target Eye",
  18. "Allows XR rendering if target eye sets to both eye. Disable XR for this camera otherwise.");
  19. #endif
  20. // Using the pipeline Settings
  21. public static GUIContent[] displayedCameraOptions =
  22. {
  23. EditorGUIUtility.TrTextContent("Off"),
  24. EditorGUIUtility.TrTextContent("Use settings from Render Pipeline Asset"),
  25. };
  26. public static int[] cameraOptions = { 0, 1 };
  27. // Using the project settings
  28. public static GUIContent[] hdrOuputOptions =
  29. {
  30. EditorGUIUtility.TrTextContent("Off"),
  31. EditorGUIUtility.TrTextContent("Use Project Settings"),
  32. };
  33. public static int[] hdrOuputValues = { 0, 1 };
  34. public static readonly GUIContent targetTextureLabel = EditorGUIUtility.TrTextContent("Output Texture", "The texture to render this camera into, if none then this camera renders to screen.");
  35. public static string inspectorOverlayCameraText = L10n.Tr("Inspector Overlay Camera");
  36. public static readonly GUIContent allowMSAA = EditorGUIUtility.TrTextContent("MSAA", "Enables Multi-Sample Anti-Aliasing, a technique that smooths jagged edges.");
  37. public static readonly GUIContent allowHDR = EditorGUIUtility.TrTextContent("HDR Rendering", "High Dynamic Range gives you a wider range of light intensities, so your lighting looks more realistic. With it, you can still see details and experience less saturation even with bright light.", (Texture)null);
  38. public static readonly GUIContent allowDynamicResolution = EditorGUIUtility.TrTextContent("URP Dynamic Resolution", "Whether to support URP dynamic resolution.");
  39. public static readonly GUIContent allowHDROutput = EditorGUIUtility.TrTextContent("HDR Output", "Whether to support outputting to HDR displays.");
  40. public static string cameraTargetTextureMSAA = L10n.Tr("Camera target texture requires {0}x MSAA. Universal pipeline {1}.");
  41. public static string pipelineMSAACapsSupportSamples = L10n.Tr("is set to support {0}x");
  42. public static string pipelineMSAACapsDisabled = L10n.Tr("has MSAA disabled");
  43. public static string disabledHDRRenderingWithHDROutput = L10n.Tr("HDR Output is enabled but HDR rendering is disabled. Image may appear underexposed or oversaturated on an HDR display.");
  44. }
  45. }
  46. }
  47. }