The QADrawTriMeshGouraud and QADrawTriMeshTexture functions draw triangle meshes defined by an array of indexed triangles. An indexed triangle is represented by a data structure of type TQAIndexedTriangle that defines three vertices and a set of triangle flags.
typedef struct TQAIndexedTriangle {
unsigned long triangleFlags;
unsigned long vertices[3];
} TQAIndexedTriangle;