primitive

Construction and batching base for render primitives.

Subclasses collect per-Mob tensors into compatible batches for the renderer in algan.rendering.raytracing. That renderer includes both a hybrid raster frontend and ray-traced transport. The older raster implementation formerly housed in this primitives package has been removed; the construction and batching interfaces remain.

Classes

RenderPrimitive

Base class for batched render primitives.

Exceptions

OutOfRenderMemory

Raised when a frame batch does not fit in the render memory arena; the render loop catches it and retries with a halved frame window.