godot_voxel/doc/classes/VoxelServer.xml

47 lines
1012 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<class name="VoxelServer" inherits="Object" version="3.5">
<brief_description>
Singleton handling common voxel processing in background threads.
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
<methods>
<method name="get_stats">
<return type="Dictionary" />
<description>
Gets debug information about shared voxel processing.
The returned dictionary has the following structure:
[codeblock]
{
"thread_pools": {
"streaming": {
"tasks": int,
"active_threads": int,
"thread_count": int
},
"general": {
"tasks": int,
"active_threads": int,
"thread_count": int
}
},
"tasks": {
"streaming": int,
"meshing": int,
"generation": int
},
"memory_pools": {
"voxel_used": int,
"voxel_total": int
}
}
[/codeblock]
</description>
</method>
</methods>
<constants>
</constants>
</class>