From 9960ddcd66b9c2c6f4b12fc7db7326ba83d65956 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 15 Jun 2006 15:34:13 +0000 Subject: comments for gl_array_object struct --- src/mesa/main/mtypes.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src') 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; }; -- cgit v1.2.3