48 lines
1023 B
XML
48 lines
1023 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VoxelServer" inherits="Object" version="3.4">
|
|
<brief_description>
|
|
Singleton handling common voxel processing in background threads.
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_stats">
|
|
<return type="Dictionary">
|
|
</return>
|
|
<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>
|