add 'advanced' post-effect load configuration

This commit is contained in:
MihailRis
2025-06-13 23:28:16 +03:00
parent 9cc59c8848
commit 02a91e0b72
10 changed files with 49 additions and 21 deletions
+8 -4
View File
@@ -40,8 +40,7 @@ struct LayoutCfg : AssetCfg {
struct SoundCfg : AssetCfg {
bool keepPCM;
SoundCfg(bool keepPCM) : keepPCM(keepPCM) {
}
SoundCfg(bool keepPCM) : keepPCM(keepPCM) {}
};
enum class AtlasType {
@@ -51,8 +50,13 @@ enum class AtlasType {
struct AtlasCfg : AssetCfg {
AtlasType type;
AtlasCfg(AtlasType type) : type(type) {
}
AtlasCfg(AtlasType type) : type(type) {}
};
struct PostEffectCfg : AssetCfg {
bool advanced;
PostEffectCfg(bool advanced) : advanced(advanced) {}
};
using aloader_func = std::function<