collection

class janim.render.collection.RenderCollection(timeline: Timeline, apprs: list[tuple[Timeline.ItemAppearance, Item]], extras: list[tuple[Timeline.ExtraRenderGroup, RenderGroupReturn]])

Bases: object

Used to help delegate rendering to special items such as FrameEffect

timeline: Timeline
apprs: list[tuple[Timeline.ItemAppearance, Item]]
extras: list[tuple[Timeline.ExtraRenderGroup, RenderGroupReturn]]
iter_items()
delegates(items: Iterable[Item]) RenderCollection

Call this method to delegate rendering associated with items

Returns a RenderCollection instance; you should later call its render() method to render the delegated items

render() None