Have you seen :
And especially Bugra answer :
You can also look at the example I posted here. That shows mapping a texture on a face.
Do those help at all?
// Create material input for texture mapping and set it on the faces
SUMaterialInput mat_input;
mat_input.material = mat;
mat_input.num_uv_coords = 3;
SUPoint2D uv_coords[3] = { { 0, 0 }, { 1, 0 }, { 1, 1 } };
for (size_t i = 0; i < 3; ++i) {
mat_input.vertex_indices[i] = i;
mat_input.uv_coords[i] = uv_coords[i];
}
The result after sample compilation :
: