Game Development Reference
In-Depth Information
3.7 I NDEX B UFFERS
Index buffersarememorybuffersthatholdinteger offsetsintovertexbuffers.Anindexbuf-
ferallowsustoreducetheamountofmemoryneededbyvertexdata,aquadconsistsoffour
vertices and two triangles, to represent the quad using vertex data alone we need to store six
vertices, two of them duplicated. Using index buffers we can avoid this vertex duplication.
Figure 34 - Index buffer representation.
Search WWH ::




Custom Search