BsScriptPostProcessSettings.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsScriptEnginePrerequisites.h"
  5. #include "BsScriptObject.h"
  6. #include "BsPostProcessSettings.h"
  7. namespace BansheeEngine
  8. {
  9. /** @addtogroup ScriptInteropEngine
  10. * @{
  11. */
  12. /** Interop class between C++ & CLR for PostProcessSettings. */
  13. class BS_SCR_BE_EXPORT ScriptPostProcessSettings : public ScriptObject<ScriptPostProcessSettings>
  14. {
  15. public:
  16. SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "PostProcessSettings")
  17. private:
  18. ScriptPostProcessSettings(MonoObject* instance);
  19. SPtr<PostProcessSettings> mSettings;
  20. /************************************************************************/
  21. /* CLR HOOKS */
  22. /************************************************************************/
  23. static void internal_createInstance(MonoObject* managedInstance);
  24. static bool internal_GetEnableAutoExposure(ScriptPostProcessSettings* thisPtr);
  25. static void internal_SetEnableAutoExposure(ScriptPostProcessSettings* thisPtr, bool value);
  26. static void internal_GetAutoExposureSettings(ScriptPostProcessSettings* thisPtr, AutoExposureSettings* value);
  27. static void internal_SetAutoExposureSettings(ScriptPostProcessSettings* thisPtr, AutoExposureSettings* value);
  28. static bool internal_GetEnableTonemapping(ScriptPostProcessSettings* thisPtr);
  29. static void internal_SetEnableTonemapping(ScriptPostProcessSettings* thisPtr, bool value);
  30. static void internal_GetTonemappingSettings(ScriptPostProcessSettings* thisPtr, TonemappingSettings* value);
  31. static void internal_SetTonemappingSettings(ScriptPostProcessSettings* thisPtr, TonemappingSettings* value);
  32. static void internal_GetWhiteBalanceSettings(ScriptPostProcessSettings* thisPtr, WhiteBalanceSettings* value);
  33. static void internal_SetWhiteBalanceSettings(ScriptPostProcessSettings* thisPtr, WhiteBalanceSettings* value);
  34. static void internal_GetColorGradingSettings(ScriptPostProcessSettings* thisPtr, ColorGradingSettings* value);
  35. static void internal_SetColorGradingSettings(ScriptPostProcessSettings* thisPtr, ColorGradingSettings* value);
  36. static float internal_GetExposureScale(ScriptPostProcessSettings* thisPtr);
  37. static void internal_SetExposureScale(ScriptPostProcessSettings* thisPtr, float value);
  38. static float internal_GetGamma(ScriptPostProcessSettings* thisPtr);
  39. static void internal_SetGamma(ScriptPostProcessSettings* thisPtr, float value);
  40. };
  41. /** @} */
  42. }