[SOLVED] Index buffer array

I would like to use an indexBuffer property of a pc.Mesh. However, unlike vertexBuffer, it is stored in an array. Why is it? What are the scenarios, when the array size is larger than 1? Do I need to iterate over it or is it safe to always only use the first element?

Ping @mvaligursky @slimbuck

Answering: It may have 2 elements at maximum. The second element is only used for wireframe rendering. If render style is not used, then it is safe to use only the first element.