diff --git a/modules/asset_loader/include/vkcv/asset/asset_loader.hpp b/modules/asset_loader/include/vkcv/asset/asset_loader.hpp index 0dc6f44050d19e1f66307bb2d4ca98e808d39274..a4ba81d71c9b3baf44fdfb0d87c9c9d763ff226d 100644 --- a/modules/asset_loader/include/vkcv/asset/asset_loader.hpp +++ b/modules/asset_loader/include/vkcv/asset/asset_loader.hpp @@ -53,7 +53,7 @@ enum PrimitiveMode { }; /* The indices in the index buffer can be of different bit width. */ -enum IndexType { UINT32=0, UINT16=1, UINT8=2 }; +enum class IndexType : uint8_t { UNDEFINED=0, UINT8=1, UINT16=2, UINT32=3 }; /* Flags for the bit-mask in the Material struct. Use the bitof() macro to * translate the enums value when checking a flag of the mask: