RenderLoopMixin¶
Qualified name: algan.render\_loop.RenderLoopMixin
- class RenderLoopMixin[source]¶
Bases:
objectFrame batching, batch preparation, and the render/video-output loop (mixed into
Scene).Methods
Yield frames and always release per-render state on exit.
Attributes
Whether frames are exported for linear-light
overcompositing; seeset_premultiplied_over(), which owns the setting.- get_frames(start_time_ind, end_time_ind, background=None, post_processes=(<function bloom_filter>, ), manual_memory=True)[source]¶
Yield frames and always release per-render state on exit.
The wrapper is deliberately outside the implementation generator so its
finallyalso runs for OOMs, worker failures, and callers that close the generator before consuming every frame.
- premultiplied_over = False¶
Whether frames are exported for linear-light
overcompositing; seeset_premultiplied_over(), which owns the setting. Declared here because the render loop reads it directly and a Scene need not have run__init__to be rendered from – the memory preflight tests build one withScene.__new__. Off is the inert value, so the default is the pre-feature behaviour.