2022-09-30 20:36:51 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_POSTPROCESSING_H
|
|
|
|
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_POSTPROCESSING_H
|
|
|
|
|
2023-11-01 22:34:54 +00:00
|
|
|
#include <components/settings/sanitizerimpl.hpp>
|
|
|
|
#include <components/settings/settingvalue.hpp>
|
2022-09-30 20:36:51 +00:00
|
|
|
|
|
|
|
#include <osg/Math>
|
|
|
|
#include <osg/Vec2f>
|
|
|
|
#include <osg/Vec3f>
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include <string>
|
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
namespace Settings
|
|
|
|
{
|
2023-04-10 15:24:57 +00:00
|
|
|
struct PostProcessingCategory : WithIndex
|
2022-09-30 20:36:51 +00:00
|
|
|
{
|
2023-04-10 15:24:57 +00:00
|
|
|
using WithIndex::WithIndex;
|
|
|
|
|
|
|
|
SettingValue<bool> mEnabled{ mIndex, "Post Processing", "enabled" };
|
2023-10-01 08:56:28 +00:00
|
|
|
SettingValue<std::vector<std::string>> mChain{ mIndex, "Post Processing", "chain" };
|
2023-04-10 15:24:57 +00:00
|
|
|
SettingValue<float> mAutoExposureSpeed{ mIndex, "Post Processing", "auto exposure speed",
|
2022-09-30 20:36:51 +00:00
|
|
|
makeMaxStrictSanitizerFloat(0.0001f) };
|
2023-04-10 15:24:57 +00:00
|
|
|
SettingValue<bool> mTransparentPostpass{ mIndex, "Post Processing", "transparent postpass" };
|
2022-09-30 20:36:51 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|