SBgl 0.1.0
A graphics framework in C99
Loading...
Searching...
No Matches
sbgl_VoxelConfig Struct Reference

Configuration parameters for initializing the voxel system. More...

#include <sbgl_voxel.h>

Data Fields

uint32_t max_slots
 Maximum number of chunk slots to manage in the GPU-side pool. This value determines the total memory footprint of the voxel system.
 
uint32_t chunk_radius
 Radius (in chunks) around the camera that should be maintained. Chunks outside this radius are candidates for recycling.
 
bool enable_telemetry
 Enables console output for performance metrics and visible chunk counts.
 

Detailed Description

Configuration parameters for initializing the voxel system.

Definition at line 21 of file sbgl_voxel.h.

Field Documentation

◆ chunk_radius

uint32_t sbgl_VoxelConfig::chunk_radius

Radius (in chunks) around the camera that should be maintained. Chunks outside this radius are candidates for recycling.

Definition at line 32 of file sbgl_voxel.h.

◆ enable_telemetry

bool sbgl_VoxelConfig::enable_telemetry

Enables console output for performance metrics and visible chunk counts.

Definition at line 37 of file sbgl_voxel.h.

◆ max_slots

uint32_t sbgl_VoxelConfig::max_slots

Maximum number of chunk slots to manage in the GPU-side pool. This value determines the total memory footprint of the voxel system.

Definition at line 26 of file sbgl_voxel.h.


The documentation for this struct was generated from the following file: