Header menu logo Mibo

Mibo.Layout3D Namespace

Type/Module Description

CellGrid3D

CellGrid3D<'T>

A dense, flat 3D grid optimized for spatial locality and minimal GC pressure. Uses 'voption' (struct option) to avoid heap allocations for empty cells. Best suited for voxel-like layouts, 3D maps, or dense spatial data. For sparse data over huge coordinates, consider a chunked system instead.

CellGridRenderer3D

Optional renderer helper for CellGrid3D. Provides convenience methods for iterating and rendering grid contents.

GridSection3D<'T>

A lightweight "view" or "cursor" into a backing 3D grid. Allows defining content using relative coordinates (0,0,0 is the section's corner) and nesting layouts without copying data.

Interior

A domain module providing standard layout stamps for interior 3D spaces. These functions generate enclosed geometry like rooms, corridors, and architectural elements. They are agnostic to content type, allowing flexible reuse.

Layout3D

A fluent DSL for composing 3D layouts. All operations return the modified section to allow chaining (pipeline style).

Layout3DHelpers

Terrain

A domain module providing standard layout stamps for outdoor 3D terrain. These functions generate landscapes, paths, and terrain features. They are agnostic to content type, allowing flexible reuse.

Type something to start searching.