mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
add 'advanced' post-effect load configuration
This commit is contained in:
parent
9cc59c8848
commit
02a91e0b72
10 changed files with 49 additions and 21 deletions
|
|
@ -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<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue