| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- namespace BansheeEngine
- {
- /** @addtogroup Rendering
- * @{
- */
- /// <summary>Settings that control tonemap post-process.</summary>
- public partial class TonemappingSettings : ScriptObject
- {
- private TonemappingSettings(bool __dummy0) { }
- public TonemappingSettings()
- {
- Internal_TonemappingSettings(this);
- }
- /// <summary>
- /// Controls the shoulder (upper non-linear) section of the filmic curve used for tonemapping. Mostly affects bright
- /// areas of the image and allows you to reduce over-exposure.
- /// </summary>
- public float FilmicCurveShoulderStrength
- {
- get { return Internal_getfilmicCurveShoulderStrength(mCachedPtr); }
- set { Internal_setfilmicCurveShoulderStrength(mCachedPtr, value); }
- }
- /// <summary>
- /// Controls the linear (middle) section of the filmic curve used for tonemapping. Mostly affects mid-range areas of the
- /// image.
- /// </summary>
- public float FilmicCurveLinearStrength
- {
- get { return Internal_getfilmicCurveLinearStrength(mCachedPtr); }
- set { Internal_setfilmicCurveLinearStrength(mCachedPtr, value); }
- }
- /// <summary>
- /// Controls the linear (middle) section of the filmic curve used for tonemapping. Mostly affects mid-range areas of the
- /// image and allows you to control how quickly does the curve climb.
- /// </summary>
- public float FilmicCurveLinearAngle
- {
- get { return Internal_getfilmicCurveLinearAngle(mCachedPtr); }
- set { Internal_setfilmicCurveLinearAngle(mCachedPtr, value); }
- }
- /// <summary>
- /// Controls the toe (lower non-linear) section of the filmic curve used for tonemapping. Mostly affects dark areas of
- /// the image and allows you to reduce under-exposure.
- /// </summary>
- public float FilmicCurveToeStrength
- {
- get { return Internal_getfilmicCurveToeStrength(mCachedPtr); }
- set { Internal_setfilmicCurveToeStrength(mCachedPtr, value); }
- }
- /// <summary>
- /// Controls the toe (lower non-linear) section of the filmic curve. used for tonemapping. Affects low-range.
- /// </summary>
- public float FilmicCurveToeNumerator
- {
- get { return Internal_getfilmicCurveToeNumerator(mCachedPtr); }
- set { Internal_setfilmicCurveToeNumerator(mCachedPtr, value); }
- }
- /// <summary>
- /// Controls the toe (lower non-linear) section of the filmic curve used for tonemapping. Affects low-range.
- /// </summary>
- public float FilmicCurveToeDenominator
- {
- get { return Internal_getfilmicCurveToeDenominator(mCachedPtr); }
- set { Internal_setfilmicCurveToeDenominator(mCachedPtr, value); }
- }
- /// <summary>Controls the white point of the filmic curve used for tonemapping. Affects the entire curve.</summary>
- public float FilmicCurveLinearWhitePoint
- {
- get { return Internal_getfilmicCurveLinearWhitePoint(mCachedPtr); }
- set { Internal_setfilmicCurveLinearWhitePoint(mCachedPtr, value); }
- }
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_TonemappingSettings(TonemappingSettings managedInstance);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern float Internal_getfilmicCurveShoulderStrength(IntPtr thisPtr);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setfilmicCurveShoulderStrength(IntPtr thisPtr, float value);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern float Internal_getfilmicCurveLinearStrength(IntPtr thisPtr);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setfilmicCurveLinearStrength(IntPtr thisPtr, float value);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern float Internal_getfilmicCurveLinearAngle(IntPtr thisPtr);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setfilmicCurveLinearAngle(IntPtr thisPtr, float value);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern float Internal_getfilmicCurveToeStrength(IntPtr thisPtr);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setfilmicCurveToeStrength(IntPtr thisPtr, float value);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern float Internal_getfilmicCurveToeNumerator(IntPtr thisPtr);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setfilmicCurveToeNumerator(IntPtr thisPtr, float value);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern float Internal_getfilmicCurveToeDenominator(IntPtr thisPtr);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setfilmicCurveToeDenominator(IntPtr thisPtr, float value);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern float Internal_getfilmicCurveLinearWhitePoint(IntPtr thisPtr);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setfilmicCurveLinearWhitePoint(IntPtr thisPtr, float value);
- }
- /** @} */
- }
|