Jesse-V/iVoxely

Support for drawing VertexBuffer

Jesse-V opened this issue · 0 comments

The rendering code should support the ability to draw a VertexBuffer. Currently, only an IndexBuffer can be drawn. The IndexBuffer defines a set of references to triplets of vertices that make up each triangle, but there are some models (such as the Sierpinski Mountain) that are best defined through only a combination of VertexBuffer and a NormalBuffer.

When available, an IndexBuffer should be referred to when rendering. If it is not available, a VertexBuffer should be used. No other DataBuffer is renderable.