added uint8 IndexType

This commit is contained in:
2023-05-11 21:07:26 +08:00
parent 7c4a27771f
commit 4ef1283fce
3 changed files with 6 additions and 4 deletions

View File

@@ -136,10 +136,11 @@ inline const uint32_t GetMipLevel(const VkExtent3D &ext)
/**
* 索引类型,等同于VkIndexType
*/
enum IndexType
enum IndexType:uint
{
U16=0,
U32
U32,
U8=VK_INDEX_TYPE_UINT8_EXT,
};
/**