More material loading constants

This commit is contained in:
Jan
2022-07-23 15:50:35 +02:00
parent 0cbf234faf
commit 2f948ea54a
3 changed files with 34 additions and 33 deletions

View File

@ -425,6 +425,7 @@ namespace IW4
};
static_assert(std::extent_v<decltype(GdtMaterialTypeNames)> == static_cast<size_t>(MATERIAL_TYPE_COUNT));
constexpr auto GDT_SORTKEY_DEFAULT = "<default>";
constexpr auto GDT_SORTKEY_OPAQUE_AMBIENT = "opaque ambient";
constexpr auto GDT_SORTKEY_OPAQUE = "opaque";
constexpr auto GDT_SORTKEY_SKY = "sky";