Skip to main content

Module chunk_pyramid

Module chunk_pyramid 

Source
Expand description

This module contains the ChunkPyramid, which is used to check chunk dependencies. All structures are const-compatible and computed at compile time.

Macrosยง

define_pyramid ๐Ÿ”’
Macro for defining chunk pyramids with nice syntax.

Structsยง

ChunkDependencies
A collection of chunk dependencies (const-compatible).
ChunkPyramid
Represents the hierarchy and dependencies for chunk generation or loading.
ChunkStep
A chunk step (const-compatible).
ConstPyramidBuilder ๐Ÿ”’
Const-time pyramid builder.

Constantsยง

GENERATION_PYRAMID
LOADING_PYRAMID
MAX_RADIUS ๐Ÿ”’
Maximum dependency radius supported.
STATUS_COUNT ๐Ÿ”’
Number of ChunkStatus variants.

Functionsยง

const_max ๐Ÿ”’
const_max_status ๐Ÿ”’
const_min ๐Ÿ”’
noop_task ๐Ÿ”’

Type Aliasesยง

ChunkStatusTask
A task that generates a chunk.