add post-effect-slot resource & add gfx.posteffects library

This commit is contained in:
MihailRis 2025-04-06 12:47:25 +03:00
parent c3bc084e76
commit 64039f0e43
11 changed files with 182 additions and 12 deletions

View file

@ -7,7 +7,11 @@ class ContentPackRuntime;
enum class ContentType { NONE, BLOCK, ITEM, ENTITY, GENERATOR };
enum class ResourceType : size_t { CAMERA, LAST = CAMERA };
enum class ResourceType : size_t {
CAMERA,
POST_EFFECT_SLOT,
LAST = POST_EFFECT_SLOT
};
inline constexpr auto RESOURCE_TYPES_COUNT =
static_cast<size_t>(ResourceType::LAST) + 1;