#include <swrast.h>
Data Fields | |
| GLfloat | win [4] |
| win[0], win[1] are the screen-coords of SWvertex. More... | |
| GLfloat | texcoord [MAX_TEXTURE_COORD_UNITS][4] |
| GLchan | color [4] |
| GLchan | specular [4] |
| GLfloat | fog |
| GLfloat | index |
| GLfloat | pointSize |
The software rasterizer now uses this format for vertices. Thus a 'RasterSetup' stage or other translation is required between the tnl module and the swrast rasterization functions. This serves to isolate the swrast module from the internals of the tnl module, and improve its usefulness as a fallback mechanism for hardware drivers.
Full software drivers:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
win[0], win[1] are the screen-coords of SWvertex. win[2] is the z-coord. what is win[3]? |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001