Logo Mibo

BlockPlan Module

Builds a BlockPlan from a render buffer.

Functions and values

Function or value Description

build buffer

Full Usage: build buffer

Parameters:
Returns: BlockPlan

Walks the buffer once and produces the per-camera-block light/shadow plan for the frame: the block count, each block's final light set / shadow origin / initial shadow-caster toggle / buffer slice, and the frame-default light set.

buffer : RenderBuffer3D
Returns: BlockPlan

empty

Full Usage: empty

Returns: BlockPlan

The empty plan: no camera blocks, no frame defaults. Pipelines use it for single-camera frames, which skip the buffer walk (BlockPlan.build) and its allocations entirely — every plan consumer is gated on the multi-block count.

Returns: BlockPlan

Type something to start searching.