[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

@@ -26,7 +26,7 @@ class NAZARA_API NzVertexBuffer : public NzResource
NzVertexBuffer(const NzVertexBuffer& vertexBuffer);
~NzVertexBuffer();
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;
void* GetPointer();