mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
mesa: document _mesa_prim::begin/end
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3861>
This commit is contained in:
parent
c9246282b7
commit
ee549c6766
1 changed files with 12 additions and 0 deletions
|
|
@ -44,7 +44,19 @@ struct _mesa_prim
|
|||
{
|
||||
GLubyte mode; /**< GL_POINTS, GL_LINES, GL_QUAD_STRIP, etc */
|
||||
bool indexed;
|
||||
|
||||
/**
|
||||
* tnl: If true, line stipple emulation will reset the pattern walker.
|
||||
* vbo: If false and the primitive is a line loop, the first vertex is
|
||||
* the beginning of the line loop and it won't be drawn.
|
||||
* Instead, it will be moved to the end.
|
||||
*/
|
||||
bool begin;
|
||||
|
||||
/**
|
||||
* tnl: If true and the primitive is a line loop, it will be closed.
|
||||
* vbo: Same as tnl.
|
||||
*/
|
||||
bool end;
|
||||
|
||||
GLuint start;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue