Utility/VertexMapper: Add GetVertex[Buffer|Count] functions

This commit is contained in:
Lynix
2017-10-18 00:20:38 +02:00
parent 10a92dcb18
commit 5b4185a4a6
2 changed files with 18 additions and 3 deletions

View File

@@ -27,6 +27,9 @@ namespace Nz
~VertexMapper();
template<typename T> SparsePtr<T> GetComponentPtr(VertexComponent component);
inline const VertexBuffer* GetVertexBuffer() const;
inline UInt32 GetVertexCount() const;
template<typename T> bool HasComponentOfType(VertexComponent component) const;
void Unmap();