TonemappingSettings.generated.cs 4.9 KB

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