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