I am writting an exporter for an application and am using irrlicht to do it. In my application I am converting from its data structures to the ones in irrlicht. I could not find a way to support quads in irrlicht, does it only support triangles?
The reason I am thinking it only supports triangles is since there is only a vertex array and an indices array. I could not find any class that has a face array.
Is there some buffer class that also has a face array so I can do something like the following.
FaceArray[] = {3,4,3,4,4,4,3,4,4,5,7,7,7,8,8}
Where the number represents the count of the indices to read out from the indices array for that polygon (ngon). So in this example I have triangles, quads as well as 5,7 and 8 sided ngons.