Added non-constant access to vertex buffer

Former-commit-id: c0fea611caf6fb48bd0b2ed56897c173f7acad41
This commit is contained in:
Lynix
2012-12-31 11:14:40 +01:00
parent 6fefa3fdd2
commit c73d10ab29
7 changed files with 35 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ class NAZARA_API NzKeyframeMesh final : public NzSubMesh
unsigned int GetFrameCount() const;
const NzIndexBuffer* GetIndexBuffer() const override;
void GetVertex(unsigned int frameIndex, unsigned int vertexIndex, NzMeshVertex* dest) const;
NzVertexBuffer* GetVertexBuffer() override;
const NzVertexBuffer* GetVertexBuffer() const override;
void Interpolate(const NzAnimation* animation, unsigned int frameA, unsigned int frameB, float interpolation) const;