[Index|Vertex]Buffer::Fill now takes discard arg

Former-commit-id: 384ffdb12d82c1e960249abcaf407ccbfe0939cf
This commit is contained in:
Lynix
2013-03-20 15:40:37 +01:00
parent c280457196
commit 6a7eb137d7
5 changed files with 8 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ class NAZARA_API NzIndexBuffer : public NzResource
NzIndexBuffer(const NzIndexBuffer& indexBuffer);
~NzIndexBuffer();
bool Fill(const void* data, unsigned int offset, unsigned int length);
bool Fill(const void* data, unsigned int offset, unsigned int length, bool forceDiscard = false);
NzBuffer* GetBuffer() const;
unsigned int GetIndexCount() const;