2022-09-30 20:36:51 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_POSTPROCESSING_H
|
|
|
|
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_POSTPROCESSING_H
|
|
|
|
|
|
|
|
#include "components/settings/sanitizerimpl.hpp"
|
|
|
|
#include "components/settings/settingvalue.hpp"
|
|
|
|
|
|
|
|
#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" };
|
|
|
|
SettingValue<std::string> mChain{ mIndex, "Post Processing", "chain" };
|
|
|
|
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
|