diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2006-06-15 15:34:13 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2006-06-15 15:34:13 +0000 |
commit | 9960ddcd66b9c2c6f4b12fc7db7326ba83d65956 (patch) | |
tree | d4be36c47c175305cdc0eb06f85d0b29cd03a250 | |
parent | 0b994ef5893c0fb59b36f2a723f74aa7c35e8502 (diff) |
comments for gl_array_object struct
-rw-r--r-- | src/mesa/main/mtypes.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 4ef08dd074..e2eeedf295 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1663,7 +1663,12 @@ struct gl_client_array }; -struct gl_array_object { +/** + * Collection of vertex arrays. Defined by the GL_APPLE_vertex_array_object + * extension, but a nice encapsulation in any case. + */ +struct gl_array_object +{ /** Name of the array object as received from glGenVertexArrayAPPLE. */ GLuint Name; @@ -1679,10 +1684,11 @@ struct gl_array_object { struct gl_client_array EdgeFlag; /*@}*/ - /** Generic arrays for vertex programs/shaders; */ + /** Generic arrays for vertex programs/shaders */ struct gl_client_array VertexAttrib[VERT_ATTRIB_MAX]; - GLbitfield _Enabled; /**< mask of _NEW_ARRAY_* values */ + /** Mask of _NEW_ARRAY_* values indicating which arrays are enabled */ + GLbitfield _Enabled; }; |