Commit 1b0ad21ab4e476d4285d580eaa5dca8212b82883

  • avatar
  • Martin Smith <msmith @trol…ech.com>
  • Fri Feb 05 12:56:35 CET 2010
doc:	Fixed some qdoc warnings.
  
15551555 indicates the number of components per vertex: 1, 2, 3, or 4.
15561556
15571557 The array will become active when enableAttributeArray() is called
1558 on the \a location. Otherwise the value specified with
1559 setAttributeValue() for \a location will be used.
1558 on the \a name. Otherwise the value specified with
1559 setAttributeValue() for \a name will be used.
15601560
15611561 The setAttributeBuffer() function can be used to set the attribute
15621562 array to an offset within a vertex buffer.
15721572}
15731573
15741574/*!
1575 Sets an array of vertex values on the attribute at \a location
1576 in this shader program, starting at a specific \a offset in the
1575 Sets an array of vertex values on the attribute at \a location in
1576 this shader program, starting at a specific \a offset in the
15771577 currently bound vertex buffer. The \a stride indicates the number
15781578 of bytes between vertices. A default \a stride value of zero
1579 indicates that the vertices are densely packed in \a values.
1579 indicates that the vertices are densely packed in the value array.
15801580
1581 The \a type indicates the type of elements in the \a values array,
1582 usually \c{GL_FLOAT}, \c{GL_UNSIGNED_BYTE}, etc. The \a tupleSize
1583 indicates the number of components per vertex: 1, 2, 3, or 4.
1581 The \a type indicates the type of elements in the vertex value
1582 array, usually \c{GL_FLOAT}, \c{GL_UNSIGNED_BYTE}, etc. The \a
1583 tupleSize indicates the number of components per vertex: 1, 2, 3,
1584 or 4.
15841585
15851586 The array will become active when enableAttributeArray() is called
15861587 on the \a location. Otherwise the value specified with
16081608 in this shader program, starting at a specific \a offset in the
16091609 currently bound vertex buffer. The \a stride indicates the number
16101610 of bytes between vertices. A default \a stride value of zero
1611 indicates that the vertices are densely packed in \a values.
1611 indicates that the vertices are densely packed in the value array.
16121612
1613 The \a type indicates the type of elements in the \a values array,
1614 usually \c{GL_FLOAT}, \c{GL_UNSIGNED_BYTE}, etc. The \a tupleSize
1615 indicates the number of components per vertex: 1, 2, 3, or 4.
1613 The \a type indicates the type of elements in the vertex value
1614 array, usually \c{GL_FLOAT}, \c{GL_UNSIGNED_BYTE}, etc. The \a
1615 tupleSize indicates the number of components per vertex: 1, 2, 3,
1616 or 4.
16161617
16171618 The array will become active when enableAttributeArray() is called
1618 on the \a location. Otherwise the value specified with
1619 setAttributeValue() for \a location will be used.
1619 on the \a name. Otherwise the value specified with
1620 setAttributeValue() for \a name will be used.
16201621
16211622 \sa setAttributeArray()
16221623 \since 4.7