RwGetPolygonTextureModes(RwPolygon3d *polygon);
Description
Retrieves the texture mode (or modes) of the polygons material.
Arguments
polygon Pointer to the polygon.
Return Value
The polygons materials texture modes if successful. Errors can be checked for using RwGetError().
Comments
The texture modes are:
rwLIT The texture will be lit according to the current light sampling type of the material (rwFACET or rwVERTEX).
rwFORESHORTEN The texture will be foreshortened in a perspectively correct manner.
rwFILTER A filter will be applied to the texture to reduce the effect of pixelation due to aliasing.
For further information see the Texture Modes section in Chapter 2: Data Types.
See Also