Defined in pyglet.graphics.vertexattribute
interleave_attributes
(attributes)¶Interleave attribute offsets.
Adjusts the offsets and strides of the given attributes so that they are interleaved. Alignment constraints are respected.
Parameters: | attributes (sequence of AbstractAttribute) – Attributes to interleave in-place. |
---|