From: Brian Paul Date: Thu, 15 Jun 2006 15:34:13 +0000 (+0000) Subject: comments for gl_array_object struct X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9960ddcd66b9c2c6f4b12fc7db7326ba83d65956;p=mesa.git comments for gl_array_object struct --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 4ef08dd0748..e2eeedf2951 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; };