VoxelEngine¶
Inherits: Object
Singleton holding common settings and handling voxel processing tasks in background threads.
Methods:¶
Return | Signature |
---|---|
Dictionary | get_stats ( ) const |
Method Descriptions¶
- Dictionary get_stats( )
Gets debug information about shared voxel processing.
The returned dictionary has the following structure:
{
"thread_pools": {
"general": {
"tasks": int,
"active_threads": int,
"thread_count": int
}
},
"tasks": {
"streaming": int,
"meshing": int,
"generation": int,
"main_thread": int
},
"memory_pools": {
"voxel_used": int,
"voxel_total": int,
"block_count": int
}
}
Generated on Sep 12, 2023