This structure contains all required information for flat-shaded (do not mix with flat-colored!) texture mapped (or flat-shaded) polygons.
Member Function Documentation
void csPolyTexFlat::SetUV (
int i,
float u,
float v ) [virtual]
Set an (u,v) texture coordinate for the specified vertex of this polygon.
This function may only be called after all vertices have been added. As soon as this function is used this polygon will be rendered using a different technique (perspective incorrect texture mapping and Gouroud shading). This is useful for triangulated objects for which the triangles are very small and also for drawing very far away polygons for which perspective correctness is not needed (sky polygons for example).