| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsCorePrerequisites.h"
- #include "BsRTTIType.h"
- #include "BsPostProcessSettings.h"
- namespace bs
- {
- /** @cond RTTI */
- /** @addtogroup RTTI-Impl-Engine
- * @{
- */
- class BS_CORE_EXPORT AutoExposureSettingsRTTI : public RTTIType <AutoExposureSettings, IReflectable, AutoExposureSettingsRTTI>
- {
- private:
- BS_BEGIN_RTTI_MEMBERS
- BS_RTTI_MEMBER_PLAIN(histogramLog2Min, 0)
- BS_RTTI_MEMBER_PLAIN(histogramLog2Max, 1)
- BS_RTTI_MEMBER_PLAIN(histogramPctLow, 2)
- BS_RTTI_MEMBER_PLAIN(histogramPctHigh, 3)
- BS_RTTI_MEMBER_PLAIN(minEyeAdaptation, 4)
- BS_RTTI_MEMBER_PLAIN(maxEyeAdaptation, 5)
- BS_RTTI_MEMBER_PLAIN(eyeAdaptationSpeedUp, 6)
- BS_RTTI_MEMBER_PLAIN(eyeAdaptationSpeedDown, 7)
- BS_END_RTTI_MEMBERS
- public:
- AutoExposureSettingsRTTI()
- :mInitMembers(this)
- { }
- const String& getRTTIName() override
- {
- static String name = "AutoExposureSettings";
- return name;
- }
- UINT32 getRTTIId() override
- {
- return TID_AutoExposureSettings;
- }
- SPtr<IReflectable> newRTTIObject() override
- {
- return bs_shared_ptr_new<AutoExposureSettings>();
- }
- };
- class BS_CORE_EXPORT TonemappingSettingsRTTI : public RTTIType <TonemappingSettings, IReflectable, TonemappingSettingsRTTI>
- {
- private:
- BS_BEGIN_RTTI_MEMBERS
- BS_RTTI_MEMBER_PLAIN(filmicCurveShoulderStrength, 0)
- BS_RTTI_MEMBER_PLAIN(filmicCurveLinearStrength, 1)
- BS_RTTI_MEMBER_PLAIN(filmicCurveLinearAngle, 2)
- BS_RTTI_MEMBER_PLAIN(filmicCurveToeStrength, 3)
- BS_RTTI_MEMBER_PLAIN(filmicCurveToeNumerator, 4)
- BS_RTTI_MEMBER_PLAIN(filmicCurveToeDenominator, 5)
- BS_RTTI_MEMBER_PLAIN(filmicCurveLinearWhitePoint, 6)
- BS_END_RTTI_MEMBERS
- public:
- TonemappingSettingsRTTI()
- :mInitMembers(this)
- { }
- const String& getRTTIName() override
- {
- static String name = "TonemappingSettings";
- return name;
- }
- UINT32 getRTTIId() override
- {
- return TID_TonemappingSettings;
- }
- SPtr<IReflectable> newRTTIObject() override
- {
- return bs_shared_ptr_new<TonemappingSettings>();
- }
- };
- class BS_CORE_EXPORT WhiteBalanceSettingsRTTI : public RTTIType <WhiteBalanceSettings, IReflectable, WhiteBalanceSettingsRTTI>
- {
- private:
- BS_BEGIN_RTTI_MEMBERS
- BS_RTTI_MEMBER_PLAIN(temperature, 0)
- BS_RTTI_MEMBER_PLAIN(tint, 1)
- BS_END_RTTI_MEMBERS
- public:
- WhiteBalanceSettingsRTTI()
- :mInitMembers(this)
- { }
- const String& getRTTIName() override
- {
- static String name = "WhiteBalanceSettings";
- return name;
- }
- UINT32 getRTTIId() override
- {
- return TID_WhiteBalanceSettings;
- }
- SPtr<IReflectable> newRTTIObject() override
- {
- return bs_shared_ptr_new<WhiteBalanceSettings>();
- }
- };
- class BS_CORE_EXPORT ColorGradingSettingsRTTI : public RTTIType <ColorGradingSettings, IReflectable, ColorGradingSettingsRTTI>
- {
- private:
- BS_BEGIN_RTTI_MEMBERS
- BS_RTTI_MEMBER_PLAIN(saturation, 0)
- BS_RTTI_MEMBER_PLAIN(contrast, 1)
- BS_RTTI_MEMBER_PLAIN(gain, 2)
- BS_RTTI_MEMBER_PLAIN(offset, 3)
- BS_END_RTTI_MEMBERS
- public:
- ColorGradingSettingsRTTI()
- :mInitMembers(this)
- { }
- const String& getRTTIName() override
- {
- static String name = "ColorGradingSettings";
- return name;
- }
- UINT32 getRTTIId() override
- {
- return TID_ColorGradingSettings;
- }
- SPtr<IReflectable> newRTTIObject() override
- {
- return bs_shared_ptr_new<ColorGradingSettings>();
- }
- };
- class BS_CORE_EXPORT DepthOfFieldSettingsRTTI : public RTTIType <DepthOfFieldSettings, IReflectable, DepthOfFieldSettingsRTTI>
- {
- private:
- BS_BEGIN_RTTI_MEMBERS
- BS_RTTI_MEMBER_PLAIN(enabled, 0)
- BS_RTTI_MEMBER_PLAIN(focalDistance, 1)
- BS_RTTI_MEMBER_PLAIN(focalRange, 2)
- BS_RTTI_MEMBER_PLAIN(nearTransitionRange, 3)
- BS_RTTI_MEMBER_PLAIN(farTransitionRange, 4)
- BS_RTTI_MEMBER_PLAIN(nearBlurAmount, 5)
- BS_RTTI_MEMBER_PLAIN(farBlurAmount, 6)
- BS_END_RTTI_MEMBERS
- public:
- DepthOfFieldSettingsRTTI()
- :mInitMembers(this)
- { }
- const String& getRTTIName() override
- {
- static String name = "DepthOfFieldSettings";
- return name;
- }
- UINT32 getRTTIId() override
- {
- return TID_DepthOfFieldSettings;
- }
- SPtr<IReflectable> newRTTIObject() override
- {
- return bs_shared_ptr_new<DepthOfFieldSettings>();
- }
- };
- class BS_CORE_EXPORT AmbientOcclusionSettingsRTTI : public RTTIType <AmbientOcclusionSettings, IReflectable, AmbientOcclusionSettingsRTTI>
- {
- private:
- BS_BEGIN_RTTI_MEMBERS
- BS_RTTI_MEMBER_PLAIN(enabled, 0)
- BS_RTTI_MEMBER_PLAIN(radius, 1)
- BS_RTTI_MEMBER_PLAIN(bias, 2)
- BS_RTTI_MEMBER_PLAIN(fadeRange, 3)
- BS_RTTI_MEMBER_PLAIN(fadeDistance, 4)
- BS_RTTI_MEMBER_PLAIN(intensity, 5)
- BS_RTTI_MEMBER_PLAIN(power, 6)
- BS_RTTI_MEMBER_PLAIN(quality, 7)
- BS_END_RTTI_MEMBERS
- public:
- AmbientOcclusionSettingsRTTI()
- :mInitMembers(this)
- { }
- const String& getRTTIName() override
- {
- static String name = "AmbientOcclusionSettings";
- return name;
- }
- UINT32 getRTTIId() override
- {
- return TID_AmbientOcclusionSettings;
- }
- SPtr<IReflectable> newRTTIObject() override
- {
- return bs_shared_ptr_new<AmbientOcclusionSettings>();
- }
- };
- class BS_CORE_EXPORT ScreenSpaceReflectionsSettingsRTTI : public RTTIType <ScreenSpaceReflectionsSettings, IReflectable, ScreenSpaceReflectionsSettingsRTTI>
- {
- private:
- BS_BEGIN_RTTI_MEMBERS
- BS_RTTI_MEMBER_PLAIN(enabled, 0)
- BS_RTTI_MEMBER_PLAIN(intensity, 1)
- BS_RTTI_MEMBER_PLAIN(maxRoughness, 2)
- BS_RTTI_MEMBER_PLAIN(quality, 3)
- BS_END_RTTI_MEMBERS
- public:
- ScreenSpaceReflectionsSettingsRTTI()
- :mInitMembers(this)
- { }
- const String& getRTTIName() override
- {
- static String name = "ScreenSpaceReflectionsSettings";
- return name;
- }
- UINT32 getRTTIId() override
- {
- return TID_ScreenSpaceReflectionsSettings;
- }
- SPtr<IReflectable> newRTTIObject() override
- {
- return bs_shared_ptr_new<ScreenSpaceReflectionsSettings>();
- }
- };
- class BS_CORE_EXPORT PostProcessSettingsRTTI : public RTTIType <PostProcessSettings, IReflectable, PostProcessSettingsRTTI>
- {
- private:
- BS_BEGIN_RTTI_MEMBERS
- BS_RTTI_MEMBER_PLAIN(enableAutoExposure, 0)
- BS_RTTI_MEMBER_REFL(autoExposure, 1)
- BS_RTTI_MEMBER_PLAIN(enableTonemapping, 2)
- BS_RTTI_MEMBER_REFL(tonemapping, 3)
- BS_RTTI_MEMBER_REFL(whiteBalance, 4)
- BS_RTTI_MEMBER_REFL(colorGrading, 5)
- BS_RTTI_MEMBER_PLAIN(exposureScale, 6)
- BS_RTTI_MEMBER_PLAIN(gamma, 7)
- BS_RTTI_MEMBER_REFL(depthOfField, 8)
- BS_RTTI_MEMBER_PLAIN(enableFXAA, 9)
- BS_RTTI_MEMBER_REFL(ambientOcclusion, 10)
- BS_RTTI_MEMBER_REFL(screenSpaceReflections, 11)
- BS_END_RTTI_MEMBERS
-
- public:
- PostProcessSettingsRTTI()
- :mInitMembers(this)
- { }
- const String& getRTTIName() override
- {
- static String name = "PostProcessSettings";
- return name;
- }
- UINT32 getRTTIId() override
- {
- return TID_PostProcessSettings;
- }
- SPtr<IReflectable> newRTTIObject() override
- {
- return bs_shared_ptr_new<PostProcessSettings>();
- }
- };
- /** @} */
- /** @endcond */
- }
|