Update the fields of a vertex array object. We need to do a few special things for arrays that live in vertex buffer objects.
- Parameters:
-
| array | the array to update |
| dirtyBit | which bit to set in ctx->Array.NewState for this array |
| elementSize | size of each array element, in bytes |
| size | components per element (1, 2, 3 or 4) |
| type | datatype of each component (GL_FLOAT, GL_INT, etc) |
| stride | stride between elements, in elements |
| normalized | are integer types converted to floats in [-1, 1]? |
| ptr | the address (or offset inside VBO) of the array data |
Definition at line 53 of file varray.c.
Referenced by _mesa_ColorPointer(), _mesa_EdgeFlagPointer(), _mesa_FogCoordPointerEXT(), _mesa_IndexPointer(), _mesa_NormalPointer(), _mesa_PointSizePointer(), _mesa_SecondaryColorPointerEXT(), _mesa_TexCoordPointer(), and _mesa_VertexPointer().