Switch index/vertex count to UInt32

This commit is contained in:
SirLynix
2022-10-31 19:54:25 +01:00
parent dc6ce8427c
commit 6b8be23fa0
28 changed files with 129 additions and 128 deletions

View File

@@ -19,13 +19,13 @@ namespace Nz
class NAZARA_UTILITY_API IndexMapper
{
public:
IndexMapper(IndexBuffer& indexBuffer, std::size_t indexCount = 0);
IndexMapper(IndexBuffer& indexBuffer, UInt32 indexCount = 0);
IndexMapper(SubMesh& subMes);
~IndexMapper() = default;
UInt32 Get(std::size_t i) const;
const IndexBuffer* GetBuffer() const;
std::size_t GetIndexCount() const;
UInt32 GetIndexCount() const;
void Set(std::size_t i, UInt32 value);
@@ -45,7 +45,7 @@ namespace Nz
BufferMapper<IndexBuffer> m_mapper;
Getter m_getter;
Setter m_setter;
std::size_t m_indexCount;
UInt32 m_indexCount;
};
}