#include <revolution/gx.h>void GXEnableTexOffsets ( GXTexCoordID coord,
GXBool line_enable,
GXBool point_enable );coord |
Specifies the texture coordinate |
line_enable |
Enables the texture offset calculation for lines. |
point_enable |
Enables the texture offset calculation for points |
None.
This function enables a special texture offset feature for points and lines. When a point's size is defined using GXSetPointSize or a line's width is described using GXSetLineWidth, you can also specify a parameter tex_offsets. The parameter tex_offsets is added to the texture coordinate(s), if any, to obtain texture coordinates at the other corners of a point or line. The tex_offsets are added after the texture coordinate generation operation, see GXSetTexCoordGen. GXEnableTexOffsets enables this operation for a particular texture coordinate. Offset operations for points and lines are enabled separately. If the enables are false, the same texture coordinate is used for every vertex of the line or point.
2006/03/01 Initial version.
CONFIDENTIAL