TonemappingSettings.generated.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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. [NativeWrapper]
  24. public float FilmicCurveShoulderStrength
  25. {
  26. get { return Internal_getfilmicCurveShoulderStrength(mCachedPtr); }
  27. set { Internal_setfilmicCurveShoulderStrength(mCachedPtr, value); }
  28. }
  29. /// <summary>
  30. /// Controls the linear (middle) section of the filmic curve used for tonemapping. Mostly affects mid-range areas of the
  31. /// image.
  32. /// </summary>
  33. [ShowInInspector]
  34. [NativeWrapper]
  35. public float FilmicCurveLinearStrength
  36. {
  37. get { return Internal_getfilmicCurveLinearStrength(mCachedPtr); }
  38. set { Internal_setfilmicCurveLinearStrength(mCachedPtr, value); }
  39. }
  40. /// <summary>
  41. /// Controls the linear (middle) section of the filmic curve used for tonemapping. Mostly affects mid-range areas of the
  42. /// image and allows you to control how quickly does the curve climb.
  43. /// </summary>
  44. [ShowInInspector]
  45. [NativeWrapper]
  46. public float FilmicCurveLinearAngle
  47. {
  48. get { return Internal_getfilmicCurveLinearAngle(mCachedPtr); }
  49. set { Internal_setfilmicCurveLinearAngle(mCachedPtr, value); }
  50. }
  51. /// <summary>
  52. /// Controls the toe (lower non-linear) section of the filmic curve used for tonemapping. Mostly affects dark areas of
  53. /// the image and allows you to reduce under-exposure.
  54. /// </summary>
  55. [ShowInInspector]
  56. [NativeWrapper]
  57. public float FilmicCurveToeStrength
  58. {
  59. get { return Internal_getfilmicCurveToeStrength(mCachedPtr); }
  60. set { Internal_setfilmicCurveToeStrength(mCachedPtr, value); }
  61. }
  62. /// <summary>
  63. /// Controls the toe (lower non-linear) section of the filmic curve. used for tonemapping. Affects low-range.
  64. /// </summary>
  65. [ShowInInspector]
  66. [NativeWrapper]
  67. public float FilmicCurveToeNumerator
  68. {
  69. get { return Internal_getfilmicCurveToeNumerator(mCachedPtr); }
  70. set { Internal_setfilmicCurveToeNumerator(mCachedPtr, value); }
  71. }
  72. /// <summary>
  73. /// Controls the toe (lower non-linear) section of the filmic curve used for tonemapping. Affects low-range.
  74. /// </summary>
  75. [ShowInInspector]
  76. [NativeWrapper]
  77. public float FilmicCurveToeDenominator
  78. {
  79. get { return Internal_getfilmicCurveToeDenominator(mCachedPtr); }
  80. set { Internal_setfilmicCurveToeDenominator(mCachedPtr, value); }
  81. }
  82. /// <summary>Controls the white point of the filmic curve used for tonemapping. Affects the entire curve.</summary>
  83. [ShowInInspector]
  84. [NativeWrapper]
  85. public float FilmicCurveLinearWhitePoint
  86. {
  87. get { return Internal_getfilmicCurveLinearWhitePoint(mCachedPtr); }
  88. set { Internal_setfilmicCurveLinearWhitePoint(mCachedPtr, value); }
  89. }
  90. [MethodImpl(MethodImplOptions.InternalCall)]
  91. private static extern void Internal_TonemappingSettings(TonemappingSettings managedInstance);
  92. [MethodImpl(MethodImplOptions.InternalCall)]
  93. private static extern float Internal_getfilmicCurveShoulderStrength(IntPtr thisPtr);
  94. [MethodImpl(MethodImplOptions.InternalCall)]
  95. private static extern void Internal_setfilmicCurveShoulderStrength(IntPtr thisPtr, float value);
  96. [MethodImpl(MethodImplOptions.InternalCall)]
  97. private static extern float Internal_getfilmicCurveLinearStrength(IntPtr thisPtr);
  98. [MethodImpl(MethodImplOptions.InternalCall)]
  99. private static extern void Internal_setfilmicCurveLinearStrength(IntPtr thisPtr, float value);
  100. [MethodImpl(MethodImplOptions.InternalCall)]
  101. private static extern float Internal_getfilmicCurveLinearAngle(IntPtr thisPtr);
  102. [MethodImpl(MethodImplOptions.InternalCall)]
  103. private static extern void Internal_setfilmicCurveLinearAngle(IntPtr thisPtr, float value);
  104. [MethodImpl(MethodImplOptions.InternalCall)]
  105. private static extern float Internal_getfilmicCurveToeStrength(IntPtr thisPtr);
  106. [MethodImpl(MethodImplOptions.InternalCall)]
  107. private static extern void Internal_setfilmicCurveToeStrength(IntPtr thisPtr, float value);
  108. [MethodImpl(MethodImplOptions.InternalCall)]
  109. private static extern float Internal_getfilmicCurveToeNumerator(IntPtr thisPtr);
  110. [MethodImpl(MethodImplOptions.InternalCall)]
  111. private static extern void Internal_setfilmicCurveToeNumerator(IntPtr thisPtr, float value);
  112. [MethodImpl(MethodImplOptions.InternalCall)]
  113. private static extern float Internal_getfilmicCurveToeDenominator(IntPtr thisPtr);
  114. [MethodImpl(MethodImplOptions.InternalCall)]
  115. private static extern void Internal_setfilmicCurveToeDenominator(IntPtr thisPtr, float value);
  116. [MethodImpl(MethodImplOptions.InternalCall)]
  117. private static extern float Internal_getfilmicCurveLinearWhitePoint(IntPtr thisPtr);
  118. [MethodImpl(MethodImplOptions.InternalCall)]
  119. private static extern void Internal_setfilmicCurveLinearWhitePoint(IntPtr thisPtr, float value);
  120. }
  121. /** @} */
  122. }