#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 the GXSetPointSize function or a line's width is described using the GXSetLineWidth function, you can also specify a tex_offsets parameter. The tex_offsets parameter is added to the texture coordinates, 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 the GXSetTexCoordGen function. 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.
None.
2006/03/01 Initial version.
CONFIDENTIAL