interleave_attributes Function

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.

Previous topic

create_attribute Function

Next topic

serialize_attributes Function