Defined in pyglet.graphics.vertexattribute
create_attribute
(format)¶Create a vertex attribute description from a format string.
The initial stride and offset of the attribute will be 0.
Parameters: | format (str) – Attribute format string. See the module summary for details. |
---|---|
Return type: | AbstractAttribute |