TonemappingSettings.generated.cs 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Rendering
  7. * @{
  8. */
  9. /// <summary>Settings that control tonemap post-process.</summary>
  10. [ShowInInspector]
  11. public partial class TonemappingSettings : ScriptObject
  12. {
  13. private TonemappingSettings(bool __dummy0) { }
  14. public TonemappingSettings()
  15. {
  16. Internal_TonemappingSettings(this);
  17. }
  18. /// <summary>
  19. /// Controls the shoulder (upper non-linear) section of the filmic curve used for tonemapping. Mostly affects bright
  20. /// areas of the image and allows you to reduce over-exposure.
  21. /// </summary>
  22. [ShowInInspector]
  23. public float FilmicCurveShoulderStrength
  24. {
  25. get { return Internal_getfilmicCurveShoulderStrength(mCachedPtr); }
  26. set { Internal_setfilmicCurveShoulderStrength(mCachedPtr, value); }
  27. }
  28. /// <summary>
  29. /// Controls the linear (middle) section of the filmic curve used for tonemapping. Mostly affects mid-range areas of the
  30. /// image.
  31. /// </summary>
  32. [ShowInInspector]
  33. public float FilmicCurveLinearStrength
  34. {
  35. get { return Internal_getfilmicCurveLinearStrength(mCachedPtr); }
  36. set { Internal_setfilmicCurveLinearStrength(mCachedPtr, value); }
  37. }
  38. /// <summary>
  39. /// Controls the linear (middle) section of the filmic curve used for tonemapping. Mostly affects mid-range areas of the
  40. /// image and allows you to control how quickly does the curve climb.
  41. /// </summary>
  42. [ShowInInspector]
  43. public float FilmicCurveLinearAngle
  44. {
  45. get { return Internal_getfilmicCurveLinearAngle(mCachedPtr); }
  46. set { Internal_setfilmicCurveLinearAngle(mCachedPtr, value); }
  47. }
  48. /// <summary>
  49. /// Controls the toe (lower non-linear) section of the filmic curve used for tonemapping. Mostly affects dark areas of
  50. /// the image and allows you to reduce under-exposure.
  51. /// </summary>
  52. [ShowInInspector]
  53. public float FilmicCurveToeStrength
  54. {
  55. get { return Internal_getfilmicCurveToeStrength(mCachedPtr); }
  56. set { Internal_setfilmicCurveToeStrength(mCachedPtr, value); }
  57. }
  58. /// <summary>
  59. /// Controls the toe (lower non-linear) section of the filmic curve. used for tonemapping. Affects low-range.
  60. /// </summary>
  61. [ShowInInspector]
  62. public float FilmicCurveToeNumerator
  63. {
  64. get { return Internal_getfilmicCurveToeNumerator(mCachedPtr); }
  65. set { Internal_setfilmicCurveToeNumerator(mCachedPtr, value); }
  66. }
  67. /// <summary>
  68. /// Controls the toe (lower non-linear) section of the filmic curve used for tonemapping. Affects low-range.
  69. /// </summary>
  70. [ShowInInspector]
  71. public float FilmicCurveToeDenominator
  72. {
  73. get { return Internal_getfilmicCurveToeDenominator(mCachedPtr); }
  74. set { Internal_setfilmicCurveToeDenominator(mCachedPtr, value); }
  75. }
  76. /// <summary>Controls the white point of the filmic curve used for tonemapping. Affects the entire curve.</summary>
  77. [ShowInInspector]
  78. public float FilmicCurveLinearWhitePoint
  79. {
  80. get { return Internal_getfilmicCurveLinearWhitePoint(mCachedPtr); }
  81. set { Internal_setfilmicCurveLinearWhitePoint(mCachedPtr, value); }
  82. }
  83. [MethodImpl(MethodImplOptions.InternalCall)]
  84. private static extern void Internal_TonemappingSettings(TonemappingSettings managedInstance);
  85. [MethodImpl(MethodImplOptions.InternalCall)]
  86. private static extern float Internal_getfilmicCurveShoulderStrength(IntPtr thisPtr);
  87. [MethodImpl(MethodImplOptions.InternalCall)]
  88. private static extern void Internal_setfilmicCurveShoulderStrength(IntPtr thisPtr, float value);
  89. [MethodImpl(MethodImplOptions.InternalCall)]
  90. private static extern float Internal_getfilmicCurveLinearStrength(IntPtr thisPtr);
  91. [MethodImpl(MethodImplOptions.InternalCall)]
  92. private static extern void Internal_setfilmicCurveLinearStrength(IntPtr thisPtr, float value);
  93. [MethodImpl(MethodImplOptions.InternalCall)]
  94. private static extern float Internal_getfilmicCurveLinearAngle(IntPtr thisPtr);
  95. [MethodImpl(MethodImplOptions.InternalCall)]
  96. private static extern void Internal_setfilmicCurveLinearAngle(IntPtr thisPtr, float value);
  97. [MethodImpl(MethodImplOptions.InternalCall)]
  98. private static extern float Internal_getfilmicCurveToeStrength(IntPtr thisPtr);
  99. [MethodImpl(MethodImplOptions.InternalCall)]
  100. private static extern void Internal_setfilmicCurveToeStrength(IntPtr thisPtr, float value);
  101. [MethodImpl(MethodImplOptions.InternalCall)]
  102. private static extern float Internal_getfilmicCurveToeNumerator(IntPtr thisPtr);
  103. [MethodImpl(MethodImplOptions.InternalCall)]
  104. private static extern void Internal_setfilmicCurveToeNumerator(IntPtr thisPtr, float value);
  105. [MethodImpl(MethodImplOptions.InternalCall)]
  106. private static extern float Internal_getfilmicCurveToeDenominator(IntPtr thisPtr);
  107. [MethodImpl(MethodImplOptions.InternalCall)]
  108. private static extern void Internal_setfilmicCurveToeDenominator(IntPtr thisPtr, float value);
  109. [MethodImpl(MethodImplOptions.InternalCall)]
  110. private static extern float Internal_getfilmicCurveLinearWhitePoint(IntPtr thisPtr);
  111. [MethodImpl(MethodImplOptions.InternalCall)]
  112. private static extern void Internal_setfilmicCurveLinearWhitePoint(IntPtr thisPtr, float value);
  113. }
  114. /** @} */
  115. }